drm/vboxvideo: Drop drm_gem_prime_export/import
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jun 2019 20:35:49 +0000 (22:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 21 Jun 2019 18:11:15 +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>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-34-daniel.vetter@ffwll.ch
drivers/gpu/drm/vboxvideo/vbox_drv.c

index a7fd194c81a964dda80f9dc780998e22ff085045..fa5e3149124d0cb1c159e0582319903303b5261b 100644 (file)
@@ -212,8 +212,6 @@ static struct drm_driver driver = {
        DRM_GEM_VRAM_DRIVER,
        .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_pin = vbox_gem_prime_pin,
        .gem_prime_unpin = vbox_gem_prime_unpin,
        .gem_prime_get_sg_table = vbox_gem_prime_get_sg_table,