aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_drv.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2016-04-28 17:18:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-05-02 16:25:08 +0200
commit199c77179c879e6cbca178bf67e9153dc89fb3d1 (patch)
tree79332b26817c6662ad54f9ee4555920001d70ed0 /drivers/gpu/drm/qxl/qxl_drv.h
parentfbdev: fb_defio: Export fb_deferred_io_mmap (diff)
downloadlinux-dev-199c77179c879e6cbca178bf67e9153dc89fb3d1.tar.xz
linux-dev-199c77179c879e6cbca178bf67e9153dc89fb3d1.zip
drm/fb-cma-helper: Add fb_deferred_io support
This adds fbdev deferred io support if CONFIG_FB_DEFERRED_IO is enabled. The driver has to provide a (struct drm_framebuffer_funcs *)->dirty() callback to get notification of fbdev framebuffer changes. If the dirty() hook is set, then fb_deferred_io is set up automatically by the helper. Two functions have been added so that the driver can provide a dirty() function: - drm_fbdev_cma_init_with_funcs() This makes it possible for the driver to provided a custom (struct drm_fb_helper_funcs *)->fb_probe() function. - drm_fbdev_cma_create_with_funcs() This is used by the .fb_probe hook to set a driver provided (struct drm_framebuffer_funcs *)->dirty() function. Cc: laurent.pinchart@ideasonboard.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1461856717-6476-6-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
0 files changed, 0 insertions, 0 deletions