]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/dg2: Add DG2 to the PSR2 defeature list
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 14 Jul 2021 03:15:38 +0000 (20:15 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 23 Jul 2021 17:34:34 +0000 (10:34 -0700)
PSR2 is not supported on DG2.

Cc: Caz Yokoyama <Caz.Yokoyama@intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714031540.3539704-49-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_psr.c

index a54e71e4e568c5cea6a91b0331fc432e975b13be..f84930e7c6dd7af496a1c72cd6f5698132e709e5 100644 (file)
@@ -870,7 +870,8 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
        }
 
        /* Wa_16011181250 */
-       if (IS_ROCKETLAKE(dev_priv) || IS_ALDERLAKE_S(dev_priv)) {
+       if (IS_ROCKETLAKE(dev_priv) || IS_ALDERLAKE_S(dev_priv) ||
+           IS_DG2(dev_priv)) {
                drm_dbg_kms(&dev_priv->drm, "PSR2 is defeatured for this platform\n");
                return false;
        }