]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/display/adlp: Add new PSR2 workarounds
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 14 Sep 2021 21:25:07 +0000 (14:25 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 17 Sep 2021 17:58:49 +0000 (10:58 -0700)
commit641dd82ffa9daad38f630d9f4a36e4875fd4e0c6
treef32714a6c6d52b86f44cdf97720206deeffe0d76
parentaf7ea1e22afc7ce7773b2e4562df4370c8c711ea
drm/i915/display/adlp: Add new PSR2 workarounds

Wa_16014451276 fixes the starting coordinate for PSR2 selective
updates. CHICKEN_TRANS definition of the workaround bit has a wrong
name based on workaround definition and HSD.

Wa_14014971508 allows the screen to continue to be updated when
coming back from DC5/DC6 and SF_SINGLE_FULL_FRAME bit is not kept
set in PSR2_MAN_TRK_CTL.

Wa_16012604467 fixes underruns when exiting PSR2 when it is in one
of its internal states.

Wa_14014971508 is still in pending status in BSpec but by
the time this is reviewed and ready to be merged it will be finalized.

v2:
- renamed register to ADLP_1_BASED_X_GRANULARITY
- added comment about all ADL-P supported panels being 1 based X
granularity

BSpec: 54369
BSpec: 50054
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914212507.177511-5-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/i915_reg.h