Commit 196cebdd authored by Rodrigo Vivi's avatar Rodrigo Vivi

drm/i915/psr: Move hsw_enable_source after enabling sink.

No functional change is expected here since at this point
PSR is not allowed to go to any active state. In other
words, not really enabled.

However let's do in a separated patch so it gets clear
on what is change and specially it can helps on bisect
case if we figure something has caused changes in behaviour.

But this needs to be done before we make the vfunc to
enable source to be in parity with VLV implementation.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170907230041.22978-8-rodrigo.vivi@intel.com
parent 4d1fa22f
...@@ -544,11 +544,11 @@ void intel_psr_enable(struct intel_dp *intel_dp, ...@@ -544,11 +544,11 @@ void intel_psr_enable(struct intel_dp *intel_dp,
hsw_psr_setup_vsc(intel_dp, crtc_state); hsw_psr_setup_vsc(intel_dp, crtc_state);
hsw_psr_enable_source(intel_dp, crtc_state);
/* Enable PSR on the panel */ /* Enable PSR on the panel */
hsw_psr_enable_sink(intel_dp); hsw_psr_enable_sink(intel_dp);
hsw_psr_enable_source(intel_dp, crtc_state);
if (INTEL_GEN(dev_priv) >= 9) if (INTEL_GEN(dev_priv) >= 9)
intel_psr_activate(intel_dp); intel_psr_activate(intel_dp);
} else { } else {
......
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