diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-05-11 11:35:49 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-06-03 14:48:27 +0200 |
commit | d323bb44e4d23802eb25d13de1f93f2335bd60d0 (patch) | |
tree | d8a1e05e3fe67366625e9a98b98d8f67671fb559 /drivers/md/dm.h | |
parent | 0b638559aa1a1964446dbc25e652035469f93cc9 (diff) |
drm/virtio: Call the right shmem helpers
drm_gem_shmem_get_sg_table is meant to implement
obj->funcs->get_sg_table, for prime exporting. The one we want is
drm_gem_shmem_get_pages_sgt, which also handles imported dma-buf, not
just native objects.
v2: Rebase, this stuff moved around in
commit 2f2aa13724d56829d910b2fa8e80c502d388f106
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Fri Feb 7 08:46:38 2020 +0100
drm/virtio: move virtio_gpu_mem_entry initialization to new function
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200511093554.211493-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions