aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_tv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-02 03:56:42 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-06 01:56:54 -0400
commita6778b3cfd7711951d8973286b783bc061281256 (patch)
treecc6478073449a3dcff848faa2d3a402b30036350 /drivers/gpu/drm/i915/intel_tv.c
parent6d832d189bb671cfa2c681d97625bab2d6463c66 (diff)
drm/i915: copy&paste drm_crtc_helper_set_mode
Together with the static helper functions drm_crtc_prepare_encoders and drm_encoder_disable (which will be simplified in the next patch, but for now are 1:1 copies). Again, no changes beside new names for these functions. Also call our new set_mode instead of the crtc helper one now in all the places we've done so far. v2: Call the function just intel_set_mode to better differentia it from intel_crtc_mode_set which really only does the ->mode_set step of the entire modeset sequence on one crtc. Whereas this function does the global change. Acked-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')
-rw-r--r--drivers/gpu/drm/i915/intel_tv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
index 281e0cf6f606..16cb11405068 100644
--- a/drivers/gpu/drm/i915/intel_tv.c
+++ b/drivers/gpu/drm/i915/intel_tv.c
@@ -1471,8 +1471,8 @@ intel_tv_set_property(struct drm_connector *connector, struct drm_property *prop
1471 } 1471 }
1472 1472
1473 if (changed && crtc) 1473 if (changed && crtc)
1474 drm_crtc_helper_set_mode(crtc, &crtc->mode, crtc->x, 1474 intel_set_mode(crtc, &crtc->mode,
1475 crtc->y, crtc->fb); 1475 crtc->x, crtc->y, crtc->fb);
1476out: 1476out:
1477 return ret; 1477 return ret;
1478} 1478}