]> git.baikalelectronics.ru Git - kernel.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)
commitdc1e575ec0df559f943d09fe11c874af3884dc3a
tree4edf9faf6bff658a27f08cd7007afa69ed60683b
parentb6fbded70045bab6adfbd9eb5bc3f223ec363865
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