drm/vboxvideo: Replace struct vram_framebuffer with generic implemenation
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 11 Oct 2019 13:48:08 +0000 (15:48 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 16 Oct 2019 07:58:59 +0000 (09:58 +0200)
commit7d79aa8628fe5045ad9379ccd5b992b04237ea52
tree7fe6228b3642d23d8fce26c459f0dea6950eef55
parent1a74ccfac5d76c7ef0263e0cf06ef71b766def4a
drm/vboxvideo: Replace struct vram_framebuffer with generic implemenation

The vboxvideo driver's struct vram_framebuffer stores a DRM framebuffer
with an assiciated GEM object. This functionality is also provided by
generic code. Switch vboxvideo over.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011134808.3955-4-tzimmermann@suse.de
drivers/gpu/drm/vboxvideo/vbox_drv.h
drivers/gpu/drm/vboxvideo/vbox_main.c
drivers/gpu/drm/vboxvideo/vbox_mode.c