|
@@ -693,7 +693,7 @@ intel_crt_detect(struct drm_connector *connector, bool force)
|
|
|
power_domain = intel_display_port_power_domain(intel_encoder);
|
|
|
intel_display_power_get(dev_priv, power_domain);
|
|
|
|
|
|
- if (I915_HAS_HOTPLUG(dev)) {
|
|
|
+ if (I915_HAS_HOTPLUG(dev_priv)) {
|
|
|
/* We can not rely on the HPD pin always being correctly wired
|
|
|
* up, for example many KVM do not pass it through, and so
|
|
|
* only trust an assertion that the monitor is connected.
|
|
@@ -715,7 +715,7 @@ intel_crt_detect(struct drm_connector *connector, bool force)
|
|
|
* broken monitor (without edid) to work behind a broken kvm (that fails
|
|
|
* to have the right resistors for HP detection) needs to fix this up.
|
|
|
* For now just bail out. */
|
|
|
- if (I915_HAS_HOTPLUG(dev) && !i915.load_detect_test) {
|
|
|
+ if (I915_HAS_HOTPLUG(dev_priv) && !i915.load_detect_test) {
|
|
|
status = connector_status_disconnected;
|
|
|
goto out;
|
|
|
}
|
|
@@ -915,7 +915,7 @@ void intel_crt_init(struct drm_device *dev)
|
|
|
crt->base.disable = intel_disable_crt;
|
|
|
}
|
|
|
crt->base.enable = intel_enable_crt;
|
|
|
- if (I915_HAS_HOTPLUG(dev) &&
|
|
|
+ if (I915_HAS_HOTPLUG(dev_priv) &&
|
|
|
!dmi_check_system(intel_spurious_crt_detect))
|
|
|
crt->base.hpd_pin = HPD_CRT;
|
|
|
if (HAS_DDI(dev_priv)) {
|
|
@@ -932,7 +932,7 @@ void intel_crt_init(struct drm_device *dev)
|
|
|
|
|
|
drm_connector_helper_add(connector, &intel_crt_connector_helper_funcs);
|
|
|
|
|
|
- if (!I915_HAS_HOTPLUG(dev))
|
|
|
+ if (!I915_HAS_HOTPLUG(dev_priv))
|
|
|
intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT;
|
|
|
|
|
|
/*
|