aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_psr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_psr.c')
-rw-r--r--drivers/gpu/drm/i915/intel_psr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
index 6e3b430fccdc..a1ad85fa5c1a 100644
--- a/drivers/gpu/drm/i915/intel_psr.c
+++ b/drivers/gpu/drm/i915/intel_psr.c
@@ -163,7 +163,7 @@ static void hsw_psr_enable_sink(struct intel_dp *intel_dp)
163 [3] = 1 - 1, 163 [3] = 1 - 1,
164 [4] = DP_SET_POWER_D0, 164 [4] = DP_SET_POWER_D0,
165 }; 165 };
166 enum port port = dig_port->port; 166 enum port port = dig_port->base.port;
167 u32 aux_ctl; 167 u32 aux_ctl;
168 int i; 168 int i;
169 169
@@ -376,7 +376,7 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
376 * ones. Since by Display design transcoder EDP is tied to port A 376 * ones. Since by Display design transcoder EDP is tied to port A
377 * we can safely escape based on the port A. 377 * we can safely escape based on the port A.
378 */ 378 */
379 if (HAS_DDI(dev_priv) && dig_port->port != PORT_A) { 379 if (HAS_DDI(dev_priv) && dig_port->base.port != PORT_A) {
380 DRM_DEBUG_KMS("PSR condition failed: Port not supported\n"); 380 DRM_DEBUG_KMS("PSR condition failed: Port not supported\n");
381 return; 381 return;
382 } 382 }