[PATCH v2 6/8] drm/fb-cma-helper: Add fb_deferred_io support

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:49:00PM +0200, Noralf Trønnes wrote: > 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 s

[PATCH v2 6/8] drm/fb-cma-helper: Add fb_deferred_io support

2016-04-24 Thread Noralf Trønnes
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 funct