drm/udl: Use drm_fb_helper deferred_io support
authorNoralf Trønnes <noralf@tronnes.org>
Thu, 28 Apr 2016 15:18:37 +0000 (17:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 May 2016 14:25:55 +0000 (16:25 +0200)
commite375882406d0cc24030746638592004755ed4ae0
treeb5bb8f69db129f84ee6e4190edab829ed4dde4e8
parent6819c3c2517604f979da3de773f2420e07dd4f4b
drm/udl: Use drm_fb_helper deferred_io support

Use the fbdev deferred io support in drm_fb_helper.
The (struct fb_ops *)->fb_{fillrect,copyarea,imageblit} functions will
now schedule a worker instead of being flushed directly like it was
previously (recorded when in atomic).

This patch has only been compile tested.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461856717-6476-8-git-send-email-noralf@tronnes.org
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_fb.c