summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-08 22:34:21 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-06 08:21:27 +0200
commit976f8a20139b1f238ab3676a732acf87fbd38c6a (patch)
tree346677ff7cb331b3988b2e60a6cd4758421b5e40 /drivers/media
parent25c5b2665fe4cc5a93edd29b62e7c05c15dddd26 (diff)
downloadlinux-rt-976f8a20139b1f238ab3676a732acf87fbd38c6a.tar.gz
drm/i915: push commit_output_state past crtc disabling
This requires a few changes - We still need a noop function for crtc->disable, becuase the fb helper is a bit too intimate with the crtc helper. - We need to clear crtc->fb ourselves in intel_crtc_disable now that we no longer rely on the helper's disable_unused_functions to do that. - We need to split out the sare update code, becuase the crtc code can't call update_dpms any more, it needs to disable the crtc unconditionally. This is because we now keep onto the encoder -> crtc mapping of the (still) active output pipe configuration. - To check that we really disable a crtc that still has encoders, insert a WARN_ON(!enabled) in the crtc disable function. - Lastly, we need to walk over all crtcs to update their enabled state after having called commit_output_state - for all disabled crtcs the crtc helper code has done that for us previously. v2: Update connector dpms and encoder->connectors_active after disabling the crtc, too. v3: Noop-out intel_encoder_disable. Similarly to the crtc disable callback used by the crtc helper code we can't simply remove all these encoder callbacks: The fb helper (which we still use) has a rather incetious relationship with the crtc helper code ... Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions