Skip to content
Commit a4ec240f authored by Rob Clark's avatar Rob Clark Committed by Simon Ser
Browse files

drm/prime: Unbreak virtgpu dma-buf export



virtgpu "vram" GEM objects do not implement obj->get_sg_table().  But
they also don'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: default avatarDominik Behr <dbehr@chromium.org>
Fixes: 207395da ("drm/prime: reject DMA-BUF attach when get_sg_table is missing")
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20240322214801.319975-1-robdclark@gmail.com
parent be141849
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment