OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eab998
)
drm/virtio: Drop drm_gem_prime_export/import
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 14 Jun 2019 20:35:53 +0000
(22:35 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 21 Jun 2019 18:11:48 +0000
(20:11 +0200)
They're the default.
Aside: Would be really nice to switch the others over to
drm_gem_object_funcs.
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
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/20190614203615.12639-38-daniel.vetter@ffwll.ch
drivers/gpu/drm/virtio/virtgpu_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/virtio/virtgpu_drv.c
b/drivers/gpu/drm/virtio/virtgpu_drv.c
index
0afdf51
..
99bcd29
100644
(file)
--- a/
drivers/gpu/drm/virtio/virtgpu_drv.c
+++ b/
drivers/gpu/drm/virtio/virtgpu_drv.c
@@
-207,8
+207,6
@@
static struct drm_driver driver = {
#endif
.prime_handle_to_fd = drm_gem_prime_handle_to_fd,
.prime_fd_to_handle = drm_gem_prime_fd_to_handle,
- .gem_prime_export = drm_gem_prime_export,
- .gem_prime_import = drm_gem_prime_import,
.gem_prime_get_sg_table = virtgpu_gem_prime_get_sg_table,
.gem_prime_import_sg_table = virtgpu_gem_prime_import_sg_table,
.gem_prime_vmap = virtgpu_gem_prime_vmap,