[PATCH v2] drm/i915/psr: Use max TP2 time
Jouni Högander
jouni.hogander at intel.com
Thu Jan 25 09:26:44 UTC 2024
v2: return max TP2 time immediately
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 52c72c9b0dc2..17251ae1e3e9 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -758,10 +758,10 @@ static void hsw_activate_psr1(struct intel_dp *intel_dp)
static u32 intel_psr2_get_tp_time(struct intel_dp *intel_dp)
{
struct intel_connector *connector = intel_dp->attached_connector;
- struct drm_i915_private *dev_priv = dp_to_i915(intel_dp);
+ /* struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); */
u32 val = 0;
- if (dev_priv->display.params.psr_safest_params)
+ /* if (dev_priv->display.params.psr_safest_params) */
return EDP_PSR2_TP2_TIME_2500us;
if (connector->panel.vbt.psr.psr2_tp2_tp3_wakeup_time_us >= 0 &&
--
2.34.1
More information about the Intel-gfx-trybot
mailing list