aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_crt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_crt.c')
-rw-r--r--drivers/gpu/drm/i915/intel_crt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index a77dd80a97f2..954070255b4d 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -712,7 +712,7 @@ intel_crt_detect(struct drm_connector *connector,
712 * broken monitor (without edid) to work behind a broken kvm (that fails 712 * broken monitor (without edid) to work behind a broken kvm (that fails
713 * to have the right resistors for HP detection) needs to fix this up. 713 * to have the right resistors for HP detection) needs to fix this up.
714 * For now just bail out. */ 714 * For now just bail out. */
715 if (I915_HAS_HOTPLUG(dev_priv) && !i915.load_detect_test) { 715 if (I915_HAS_HOTPLUG(dev_priv) && !i915_modparams.load_detect_test) {
716 status = connector_status_disconnected; 716 status = connector_status_disconnected;
717 goto out; 717 goto out;
718 } 718 }
@@ -730,7 +730,7 @@ intel_crt_detect(struct drm_connector *connector,
730 else if (INTEL_GEN(dev_priv) < 4) 730 else if (INTEL_GEN(dev_priv) < 4)
731 status = intel_crt_load_detect(crt, 731 status = intel_crt_load_detect(crt,
732 to_intel_crtc(connector->state->crtc)->pipe); 732 to_intel_crtc(connector->state->crtc)->pipe);
733 else if (i915.load_detect_test) 733 else if (i915_modparams.load_detect_test)
734 status = connector_status_disconnected; 734 status = connector_status_disconnected;
735 else 735 else
736 status = connector_status_unknown; 736 status = connector_status_unknown;