drm/bochs: Remove PRIME helpers from driver structure
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 2 Jul 2019 11:50:09 +0000 (13:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 3 Jul 2019 07:32:11 +0000 (09:32 +0200)
VRAM PRIME helpers are now called through GEM object functions. The
driver callback functions are obsolete.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702115012.4418-3-tzimmermann@suse.de
drivers/gpu/drm/bochs/bochs_drv.c

index 78ad6c98861ddc5843428e297edc4197282d0629..f48b212a2535188bf30fbd8d91efa4ad4b5ee652 100644 (file)
@@ -73,7 +73,6 @@ static struct drm_driver bochs_driver = {
        .major                  = 1,
        .minor                  = 0,
        DRM_GEM_VRAM_DRIVER,
-       DRM_GEM_VRAM_DRIVER_PRIME,
 };
 
 /* ---------------------------------------------------------------------- */