diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-06-03 15:10:40 +0200 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-06-17 10:32:54 +0200 |
commit | 9125e6186822b2698da17690416cd1b55c030115 (patch) | |
tree | 33c993cb831125d9c59dda1b011737cfb2be54ef /drivers/hid/hid-magicmouse.c | |
parent | drm/edid: Add both 60Hz and 59.94Hz CEA modes to connector's mode list (diff) | |
download | linux-9125e6186822b2698da17690416cd1b55c030115.tar.xz linux-9125e6186822b2698da17690416cd1b55c030115.zip |
drm: Add drm_plane_force_disable()
drm_plane_force_disable() will forcibly disable the plane even if user
had previously requested the plane to be enabled.
This can be used to force planes to be off when restoring the fbdev
mode.
The code was simply pulled from drm_framebuffer_remove(), which now
calls the new function as well.
v2: Check plane->fb in drm_plane_force_disable(), drop bogus comment
about disabling crtc
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
0 files changed, 0 insertions, 0 deletions