Commit 42f53ffc authored by José Roberto de Souza's avatar José Roberto de Souza Committed by Dhinakaran Pandiyan

drm/i915/psr: Remove intel_crtc_state parameter from disable_source()

It was only used in VLV/CHV so after the removal of the PSR support
for those platforms it is not necessary any more.

v7: Rebased
Reviewed-by: default avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Signed-off-by: default avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180626201644.21932-1-jose.souza@intel.com
parent bcc233b2
...@@ -625,8 +625,7 @@ void intel_psr_enable(struct intel_dp *intel_dp, ...@@ -625,8 +625,7 @@ void intel_psr_enable(struct intel_dp *intel_dp,
} }
static void static void
intel_psr_disable_source(struct intel_dp *intel_dp, intel_psr_disable_source(struct intel_dp *intel_dp)
const struct intel_crtc_state *old_crtc_state)
{ {
struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
struct drm_device *dev = intel_dig_port->base.base.dev; struct drm_device *dev = intel_dig_port->base.base.dev;
...@@ -693,7 +692,7 @@ void intel_psr_disable(struct intel_dp *intel_dp, ...@@ -693,7 +692,7 @@ void intel_psr_disable(struct intel_dp *intel_dp,
return; return;
} }
intel_psr_disable_source(intel_dp, old_crtc_state); intel_psr_disable_source(intel_dp);
/* Disable PSR on Sink */ /* Disable PSR on Sink */
drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, 0); drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, 0);
......
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