Re: [PATCH] drm/prime: Unbreak virtgpu dma-buf export

2024-03-27 Thread Dominik Behr
e can't possibly work > properly. Maybe it works by chance if the host buffer is mapped to > the guest, but that is not guaranteed. > > BR, > -R > > On Mon, Mar 25, 2024 at 3:35 PM Dominik Behr wrote: > > > > It also fixes importing virtgpu blobs into real hard

Re: [PATCH] drm/prime: Unbreak virtgpu dma-buf export

2024-03-25 Thread Dominik Behr
;t use drm_gem_map_dma_buf(). In fact they may not even > have guest visible pages. But it is perfectly fine to export and share > with other virtual devices. > > Reported-by: Dominik Behr > Fixes: 207395da5a97 ("drm/prime: reject DMA-BUF attach when get_sg_table is > mi

Re: [PATCH] drm/prime: Unbreak virtgpu dma-buf export

2024-03-25 Thread Dominik Behr
use drm_gem_map_dma_buf(). In fact they may not even > have guest visible pages. But it is perfectly fine to export and share > with other virtual devices. > > Reported-by: Dominik Behr > Fixes: 207395da5a97 ("drm/prime: reject DMA-BUF attach when get_sg_table > is missing&q

Re: [PATCH] drm/amdgpu/display: fix wrong enum type for ddc_result

2018-02-02 Thread Dominik Behr
Aww, you are right. Let me redo it and do the spelling fix separately because I cannot unsee it now. On Fri, Feb 2, 2018 at 7:48 AM, Harry Wentland wrote: > On 2018-02-01 08:55 PM, db...@chromium.org wrote: >> From: Dominik Behr >> >> v2: now with fixed result comparis

Re: [PATCH] dma-buf/sw_sync: Fix timeline/pt overflow cases

2017-06-28 Thread Dominik Behr
I think the kernel has problems with Android fences which were slowly broken as they were de-staged: 1. They allowed for fence/timeline value/seqno to overflow/rollover and that would break only if delta between timeline and earlier unsignaled fence exceeded 2^31 or so. Android relies on that beha

[RFC v2 5/8] drm/fence: add in-fences support

2016-07-12 Thread Dominik Behr
Gustavo, you added fence_put() in __drm_atomic_helper_plane_destroy_state(), shouldn't we also add a corresponding fence_get() in __drm_atomic_helper_plane_duplicate_state() ? On Fri, Apr 29, 2016 at 3:23 PM, Rob Clark wrote: > On Fri, Apr 29, 2016 at 3:48 AM, Daniel Stone > wrote: > > Hi, > >

[PATCH] cirrus: initialize smem_start and smem_size fields in fb info

2013-08-28 Thread Dominik Behr
so user space drivers like fbdev can map the memory Signed-off-by: Dominik Behr Reviewed-by: Stéphane Marchesin --- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/cirrus/cirrus_fbdev.c b/drivers/gpu/drm/cirrus/cirrus_fbdev.c index

[PATCH] cirrus: initialize smem_start and smem_size fields in fb info

2013-08-28 Thread Dominik Behr
so user space drivers like fbdev can map the memory Signed-off-by: Dominik Behr Reviewed-by: St?phane Marchesin --- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/cirrus/cirrus_fbdev.c b/drivers/gpu/drm/cirrus/cirrus_fbdev.c index