There have been a number of field reports of hangs tied to PSR-SU
specifically to Parade TCONs.  These hangs are fixed by changes
in DMCUB firmware for both Rembrandt and Phoenix. Add checks to ensure
that PSR-SU is only enabled when the newer DMCUB firmware is present.

Cc: Sean Wang <sean.ns.w...@amd.com>
Cc: Marc Rossi <marc.ro...@amd.com>
Cc: Hamza Mahfooz <hamza.mahf...@amd.com>
Cc: Tsung-hua (Ryan) Lin <tsung-hua....@amd.com>

Mario Limonciello (4):
  drm/amd/display: Correct `DMUB_FW_VERSION` macro
  drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
  drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
  Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"

 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c |  3 ++-
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c          |  7 +++++++
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h          |  1 +
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h           |  4 +++-
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c     |  5 +++++
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.h     |  2 ++
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn314.c    |  5 +++++
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn314.h    |  2 ++
 drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c       | 11 +++++++----
 .../gpu/drm/amd/display/modules/power/power_helpers.c |  2 --
 10 files changed, 34 insertions(+), 8 deletions(-)

-- 
2.34.1

Reply via email to