drm/i915: PSR: Keep sink state consistent with source
Subsystems (2)
PATCH 1/1 drm/i915: PSR: Keep sink state consistent with source
BSpec recommends to keep the main link state consistent between the source and the sink. As per that, update the main link state in sink DPCD register to 'active', for Valleyview based platforms.
--- drivers/gpu/drm/i915/intel_psr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_psr.c +1 -1
@@ -133,7 +133,7 @@ static void hsw_psr_setup_vsc(struct intel_dp *intel_dp)static void vlv_psr_enable_sink (struct intel_dp *intel_dp) {drm_dp_dpcd_writeb (&intel_dp->aux,DP_PSR_EN_CFG , -DP_PSR_ENABLE ); +DP_PSR_ENABLE |DP_PSR_MAIN_LINK_ACTIVE ); }static void hsw_psr_enable_sink (struct intel_dp *intel_dp)
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Thanks
Quoted 15 lines · Durgadoss R
BSpec recommends to keep the main link state consistent between the source and the sink. As per that, update the main link state in sink DPCD register to 'active', for Valleyview based platforms.
Signed-off-by Durgadoss R <[email protected]>--- drivers/gpu/drm/i915/intel_psr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_psr.c +0
-0
drivers/gpu/drm/i915/intel_psr.c static void hsw_psr_setup_vsc(struct intel_dp *intel_dp) · line 139
Quoted 8 lines
drivers/gpu/drm/i915/intel_psr.c +1
-1@@ -133,7 +133,7 @@ static void hsw_psr_setup_vsc(struct intel_dp *intel_dp)static void vlv_psr_enable_sink (struct intel_dp *intel_dp) {drm_dp_dpcd_writeb (&intel_dp->aux,DP_PSR_EN_CFG , -DP_PSR_ENABLE ); +DP_PSR_ENABLE |DP_PSR_MAIN_LINK_ACTIVE ); }static void hsw_psr_enable_sink (struct intel_dp *intel_dp)
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 4 lines · Rodrigo
Thanks
Reviewed-by Rodrigo Vivi <[email protected]>Tested-by Rodrigo Vivi <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Quoted 30 lines · Durgadoss R
Quoted 15 lines
BSpec recommends to keep the main link state consistent between the source and the sink. As per that, update the main link state in sink DPCD register to 'active', for Valleyview based platforms.
Signed-off-by Durgadoss R <[email protected]>--- drivers/gpu/drm/i915/intel_psr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_psr.c +0
-0drivers/gpu/drm/i915/intel_psr.c static void hsw_psr_setup_vsc(struct intel_dp *intel_dp) · line 139
Quoted 8 lines
drivers/gpu/drm/i915/intel_psr.c +1
-1@@ -133,7 +133,7 @@ static void hsw_psr_setup_vsc(struct intel_dp *intel_dp)static void vlv_psr_enable_sink (struct intel_dp *intel_dp) {drm_dp_dpcd_writeb (&intel_dp->aux,DP_PSR_EN_CFG , -DP_PSR_ENABLE ); +DP_PSR_ENABLE |DP_PSR_MAIN_LINK_ACTIVE ); }static void hsw_psr_enable_sink (struct intel_dp *intel_dp)_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx