[PATCH 10/11] drrs + psr1

José Roberto de Souza jose.souza at intel.com
Wed Apr 27 21:40:34 UTC 2022


---
 drivers/gpu/drm/i915/display/intel_dp.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 3ebd0e9b0259c..a847b066c3f50 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1843,12 +1843,11 @@ static bool can_enable_drrs(struct intel_connector *connector,
 		return false;
 
 	/*
-	 * DRRS and PSR can't be enable together, so giving preference to PSR
-	 * as it allows more power-savings by complete shutting down display,
-	 * so to guarantee this, intel_drrs_compute_config() must be called
-	 * after intel_psr_compute_config().
+	 * Specification don't have any restrictions about DRRS + PSR1 or PSR2
+	 * but enabling DRRS with PSR2 causes DP_PSR_LINK_CRC_ERROR errors in
+	 * panel side so for now only allowing DRRS + PSR1.
 	 */
-	if (pipe_config->has_psr)
+	if (pipe_config->has_psr2)
 		return false;
 
 	/* FIXME missing FDI M2/N2 etc. */
-- 
2.36.0



More information about the Intel-gfx-trybot mailing list