drm/vboxvideo: Switch to drm_atomic_helper_dirty_fb()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 11 Oct 2019 13:48:07 +0000 (15:48 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 16 Oct 2019 07:58:53 +0000 (09:58 +0200)
commit1a74ccfac5d76c7ef0263e0cf06ef71b766def4a
tree478b5255d5ec75cd20ea31213be40dc34d7db465
parent2695eae1f6d3a5b513735a1d7f4e187414381bee
drm/vboxvideo: Switch to drm_atomic_helper_dirty_fb()

The vboxvideo driver provides struct drm_framebuffer_funcs.dirty_fb from
its own implementation. Switch over to drm_atomic_helper_dirty_fb() and
handle screen updates in the primary plane's atomic_update function.

With dirty_fb out of the way, we can further replace struct vbox_frammebuffer
with generic code.

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