]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/display/adl_p: Disable PSR2
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 24 May 2021 21:48:05 +0000 (14:48 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 25 May 2021 17:32:07 +0000 (10:32 -0700)
We are missing the implementation of some workarounds to enabled PSR2
in Alderlake P, so to avoid any CI report of issues around PSR2
disabling it until all PSR2 workarounds are implemented.

Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210524214805.259692-5-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c

index c57210862206041c3eb42e6523a0bfb1223fc596..1b27af872ba18c08b2dc52ec0e04bcb930d9748a 100644 (file)
@@ -765,6 +765,15 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
                return false;
        }
 
+       /*
+        * We are missing the implementation of some workarounds to enabled PSR2
+        * in Alderlake_P, until ready PSR2 should be kept disabled.
+        */
+       if (IS_ALDERLAKE_P(dev_priv)) {
+               drm_dbg_kms(&dev_priv->drm, "PSR2 is missing the implementation of workarounds\n");
+               return false;
+       }
+
        if (!transcoder_has_psr2(dev_priv, crtc_state->cpu_transcoder)) {
                drm_dbg_kms(&dev_priv->drm,
                            "PSR2 not supported in transcoder %s\n",