]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/fb-helper: Disable cursors and planes when restoring fbdev mode
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Jun 2013 13:10:42 +0000 (16:10 +0300)
committerDave Airlie <airlied@gmail.com>
Mon, 17 Jun 2013 08:33:16 +0000 (18:33 +1000)
commit3858bc5d5362ed3060ff7773c080813dd39b995e
tree4edf9faf6bff658a27f08cd7007afa69ed60683b
parent9125e6186822b2698da17690416cd1b55c030115
drm/fb-helper: Disable cursors and planes when restoring fbdev mode

Cursors and plane can obscure whatever fbdev wants to show the user.
Disable them all in drm_fb_helper_restore_fbdev_mode.

After the cursors and planes have been disabled, user space needs to
explicitly re-enable them to make them visible again.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_fb_helper.c