aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_tv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-08 19:40:39 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-06 08:04:38 +0200
commit7758a11340cc8845509303b0bee60401738da82e (patch)
tree3153b7c010293edfc560b2120cbfd8417224d558 /drivers/gpu/drm/i915/intel_tv.c
parent87f1faa630b2045ccb6ab29f18c62279ddd7ef17 (diff)
drm/i915: extract adjusted mode computation
While at it, adjust a few things: - Only assigng the new mode to crtc->mode right before calling the mode_set callbacks - none of the previous callbacks depend upon this, they all use the mode argument (as they should). - Check encoder->new_crtc instead of the current crtc to check whether the encoder will be used. This prepares for moving the staged output committing further down in the sequence. Follow-on patches will fix up individual ->mode_fixup callbacks (only tv and lvds are affected though). Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_tv.c')
0 files changed, 0 insertions, 0 deletions