drm/i915/psr: Modify/Fix Wa_16013835468 and prepare for Wa_14015648006
authorJouni Högander <jouni.hogander@intel.com>
Wed, 29 Mar 2023 15:06:59 +0000 (18:06 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Fri, 31 Mar 2023 05:42:57 +0000 (08:42 +0300)
commit44222656ecff73974c637b6b9c9bb5415978ed08
tree23b69f3c3ca95d6bea94f54c4bed4494178605ea
parent19d06582c47572be9635cf126195135df0720118
drm/i915/psr: Modify/Fix Wa_16013835468 and prepare for Wa_14015648006

Wa_16013835468 is a separate from Wa_14015648006 and needs to be
applied for display version 12. Fix this by removing all the
references to Wa_14015648006 and apply Wa_16013835468 according to
Bspec.

Also move workaround into separate function as a preparation for
Wa_14015648006 implementation.

Bspec: 55378

v3:
 - apply for display version 12 only
v2:
 - keep applying the wa in intel_psr_enable_source

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230329150703.432072-3-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c