Commit 38de45c5 authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: fixup tv load-detect on enabled but not active crtc

When fixing up the crt load detect code I've failed to notice the same
problem in the tv load detect code. Again, unconditionally use the
load detect pipe infrastructure, it gets things right.
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 63c62275
...@@ -1251,9 +1251,7 @@ intel_tv_detect(struct drm_connector *connector, bool force) ...@@ -1251,9 +1251,7 @@ intel_tv_detect(struct drm_connector *connector, bool force)
mode = reported_modes[0]; mode = reported_modes[0];
drm_mode_set_crtcinfo(&mode, 0); drm_mode_set_crtcinfo(&mode, 0);
if (intel_tv->base.base.crtc && intel_tv->base.base.crtc->enabled) { if (force) {
type = intel_tv_detect_type(intel_tv, connector);
} else if (force) {
struct intel_load_detect_pipe tmp; struct intel_load_detect_pipe tmp;
if (intel_get_load_detect_pipe(&intel_tv->base, connector, if (intel_get_load_detect_pipe(&intel_tv->base, connector,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment