summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vboxvideo/vbox_drv.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-10-11 16:48:07 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2019-10-16 10:58:53 +0300
commit1a74ccfac5d76c7ef0263e0cf06ef71b766def4a (patch)
tree478b5255d5ec75cd20ea31213be40dc34d7db465 /drivers/gpu/drm/vboxvideo/vbox_drv.h
parent2695eae1f6d3a5b513735a1d7f4e187414381bee (diff)
downloadlinux-1a74ccfac5d76c7ef0263e0cf06ef71b766def4a.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/vboxvideo/vbox_drv.h')
-rw-r--r--drivers/gpu/drm/vboxvideo/vbox_drv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/vboxvideo/vbox_drv.h b/drivers/gpu/drm/vboxvideo/vbox_drv.h
index bb0c39fe7911..9976554b58cb 100644
--- a/drivers/gpu/drm/vboxvideo/vbox_drv.h
+++ b/drivers/gpu/drm/vboxvideo/vbox_drv.h
@@ -143,10 +143,6 @@ void vbox_mode_fini(struct vbox_private *vbox);
void vbox_report_caps(struct vbox_private *vbox);
-void vbox_framebuffer_dirty_rectangles(struct drm_framebuffer *fb,
- struct drm_clip_rect *rects,
- unsigned int num_rects);
-
int vbox_framebuffer_init(struct vbox_private *vbox,
struct vbox_framebuffer *vbox_fb,
const struct drm_mode_fb_cmd2 *mode_cmd,