[PATCH 00/16] DC Patches Oct 06 2023

Tom Chung chiahsuan.chung at amd.com
Wed Oct 4 09:22:45 UTC 2023


This DC patchset brings improvements in multiple areas. In summary, we have:

- Refactor DPG test pattern logic for ODM cases
- Refactor HWSS into component folder
- Revert "drm/amd/display: Add a check for idle power optimization"
- Revert "drm/amd/display: remove duplicated edp relink to fastboot
- Update cursor limits based on SW cursor fallback limits
- Update stream mask
- Update pmfw_driver_if new structure
- Modify SMU message logs
- Don't set dpms_off for seamless boot

Cc: Daniel Wheeler <daniel.wheeler at amd.com>

Alvin Lee (2):
  drm/amd/display: Update cursor limits based on SW cursor fallback
    limits
  drm/amd/display: Make DCN3x use older FPO sequence

Aric Cyr (2):
  drm/amd/display: Revert "drm/amd/display: remove duplicated edp relink
    to fastboot"
  drm/amd/display: 3.2.255

Charlene Liu (1):
  drm/amd/display: Update pmfw_driver_if new structure

Daniel Miess (1):
  drm/amd/display: Don't set dpms_off for seamless boot

Duncan Ma (1):
  drm/amd/display: Update stream mask

George Shen (2):
  drm/amd/display: Refactor DPG test pattern logic for ODM cases
  drm/amd/display: Disable SubVP if test pattern is enabled

Max Tseng (1):
  drm/amd/display: Modify Vmin default value

Mounika Adhuri (1):
  drm/amd/display: Refactor HWSS into component folder

Muhammad Ahmed (1):
  drm/amd/display: Update dml ssb from pmfw clock table

Muhammad Ansari (1):
  drm/amd/display: VSIF v3 set Max Refresh Rate

Nicholas Kazlauskas (1):
  drm/amd/display: Don't use fsleep for PSR exit waits

Sung Joon Kim (2):
  drm/amd/display: Modify SMU message logs
  drm/amd/display: Revert "drm/amd/display: Add a check for idle power
    optimization"

 drivers/gpu/drm/amd/display/Makefile          |   1 +
 drivers/gpu/drm/amd/display/dc/Makefile       |   2 +-
 .../dc/clk_mgr/dce120/dce120_clk_mgr.c        |   2 +-
 .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c  | 215 ++++++++++++------
 .../amd/display/dc/clk_mgr/dcn35/dcn35_smu.c  |  12 +-
 .../amd/display/dc/clk_mgr/dcn35/dcn35_smu.h  |  36 ++-
 drivers/gpu/drm/amd/display/dc/core/dc.c      | 105 +++++++--
 .../gpu/drm/amd/display/dc/core/dc_resource.c | 143 ++++++++++++
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |  34 +--
 drivers/gpu/drm/amd/display/dc/dc.h           |   6 +-
 drivers/gpu/drm/amd/display/dc/dce/Makefile   |   2 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c |   3 +-
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c |   3 +-
 .../gpu/drm/amd/display/dc/dce100/Makefile    |   2 +-
 .../amd/display/dc/dce100/dce100_resource.c   |   4 +-
 .../gpu/drm/amd/display/dc/dce110/Makefile    |   2 +-
 .../amd/display/dc/dce110/dce110_resource.c   |   2 +-
 .../gpu/drm/amd/display/dc/dce112/Makefile    |   2 +-
 .../amd/display/dc/dce112/dce112_resource.c   |   2 +-
 .../gpu/drm/amd/display/dc/dce120/Makefile    |   1 -
 .../amd/display/dc/dce120/dce120_resource.c   |   6 +-
 .../amd/display/dc/dce60/dce60_hw_sequencer.c |   4 +-
 drivers/gpu/drm/amd/display/dc/dce80/Makefile |   2 +-
 .../drm/amd/display/dc/dce80/dce80_resource.c |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn10/Makefile |   2 +-
 .../dc/dcn10/dcn10_hw_sequencer_debug.c       |   4 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_init.c |   4 +-
 .../drm/amd/display/dc/dcn10/dcn10_resource.c |   4 +-
 drivers/gpu/drm/amd/display/dc/dcn20/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_init.c |   6 +-
 .../drm/amd/display/dc/dcn20/dcn20_resource.c |   4 +-
 .../gpu/drm/amd/display/dc/dcn201/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn201/dcn201_init.c   |   6 +-
 .../amd/display/dc/dcn201/dcn201_resource.c   |   4 +-
 drivers/gpu/drm/amd/display/dc/dcn21/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn21/dcn21_init.c |   6 +-
 .../drm/amd/display/dc/dcn21/dcn21_resource.c |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn30/Makefile |   1 -
 .../gpu/drm/amd/display/dc/dcn30/dcn30_init.c |   6 +-
 .../drm/amd/display/dc/dcn30/dcn30_resource.c |   2 +-
 .../gpu/drm/amd/display/dc/dcn301/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn301/dcn301_init.c   |   6 +-
 .../amd/display/dc/dcn301/dcn301_resource.c   |   2 +-
 .../gpu/drm/amd/display/dc/dcn302/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn302/dcn302_init.c   |   2 +-
 .../gpu/drm/amd/display/dc/dcn303/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn303/dcn303_init.c   |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn31/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn31/dcn31_init.c |   4 +-
 .../drm/amd/display/dc/dcn31/dcn31_resource.c |   2 +-
 .../gpu/drm/amd/display/dc/dcn314/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn314/dcn314_init.c   |   4 +-
 .../amd/display/dc/dcn314/dcn314_resource.c   |   4 +-
 .../amd/display/dc/dcn315/dcn315_resource.c   |   2 +-
 .../amd/display/dc/dcn316/dcn316_resource.c   |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn32/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn32/dcn32_init.c |   8 +-
 .../drm/amd/display/dc/dcn32/dcn32_resource.c |   2 +-
 .../amd/display/dc/dcn321/dcn321_resource.c   |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn35/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.c |   4 +-
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.c  |   1 +
 .../drm/amd/display/dc/dcn35/dcn35_resource.c |  15 +-
 .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c  |  15 +-
 .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.c  |  24 +-
 .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.h  |   2 -
 drivers/gpu/drm/amd/display/dc/hwss/Makefile  | 183 +++++++++++++++
 .../amd/display/dc/{ => hwss}/dce/dce_hwseq.c |   0
 .../amd/display/dc/{ => hwss}/dce/dce_hwseq.h |   0
 .../dce100/dce100_hwseq.c}                    |   4 +-
 .../dce100/dce100_hwseq.h}                    |   0
 .../dce110/dce110_hwseq.c}                    |   8 +-
 .../dce110/dce110_hwseq.h}                    |   0
 .../dce112/dce112_hwseq.c}                    |   4 +-
 .../dce112/dce112_hwseq.h}                    |   0
 .../dce120/dce120_hwseq.c}                    |   4 +-
 .../dce120/dce120_hwseq.h}                    |   0
 .../dce80/dce80_hwseq.c}                      |   6 +-
 .../dce80/dce80_hwseq.h}                      |   0
 .../dcn10/dcn10_hwseq.c}                      |  16 +-
 .../dcn10/dcn10_hwseq.h}                      |   0
 .../display/dc/{ => hwss}/dcn20/dcn20_hwseq.c |  28 ++-
 .../display/dc/{ => hwss}/dcn20/dcn20_hwseq.h |   0
 .../dc/{ => hwss}/dcn201/dcn201_hwseq.c       |   2 +-
 .../dc/{ => hwss}/dcn201/dcn201_hwseq.h       |   0
 .../display/dc/{ => hwss}/dcn21/dcn21_hwseq.c |   2 +-
 .../display/dc/{ => hwss}/dcn21/dcn21_hwseq.h |   0
 .../display/dc/{ => hwss}/dcn30/dcn30_hwseq.c |  31 +--
 .../display/dc/{ => hwss}/dcn30/dcn30_hwseq.h |   0
 .../dc/{ => hwss}/dcn301/dcn301_hwseq.c       |   0
 .../dc/{ => hwss}/dcn301/dcn301_hwseq.h       |   0
 .../dc/{ => hwss}/dcn302/dcn302_hwseq.c       |   0
 .../dc/{ => hwss}/dcn302/dcn302_hwseq.h       |   0
 .../dc/{ => hwss}/dcn303/dcn303_hwseq.c       |   0
 .../dc/{ => hwss}/dcn303/dcn303_hwseq.h       |   0
 .../display/dc/{ => hwss}/dcn31/dcn31_hwseq.c |   2 +-
 .../display/dc/{ => hwss}/dcn31/dcn31_hwseq.h |   0
 .../dc/{ => hwss}/dcn314/dcn314_hwseq.c       |   2 +-
 .../dc/{ => hwss}/dcn314/dcn314_hwseq.h       |   0
 .../display/dc/{ => hwss}/dcn32/dcn32_hwseq.c |  14 +-
 .../display/dc/{ => hwss}/dcn32/dcn32_hwseq.h |   3 +
 .../display/dc/{ => hwss}/dcn35/dcn35_hwseq.c |   2 +-
 .../display/dc/{ => hwss}/dcn35/dcn35_hwseq.h |   0
 .../display/dc/{inc => hwss}/hw_sequencer.h   |   4 +-
 .../dc/{inc => hwss}/hw_sequencer_private.h   |   0
 .../gpu/drm/amd/display/dc/inc/core_types.h   |  13 ++
 drivers/gpu/drm/amd/display/dc/inc/resource.h |   7 +
 .../display/dc/link/accessories/link_dp_cts.c | 117 ++--------
 .../gpu/drm/amd/display/dmub/src/dmub_srv.c   |   1 -
 .../amd/display/modules/freesync/freesync.c   |   9 +-
 110 files changed, 820 insertions(+), 409 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/dc/hwss/Makefile
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dce/dce_hwseq.c (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dce/dce_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{dce100/dce100_hw_sequencer.c => hwss/dce100/dce100_hwseq.c} (98%)
 rename drivers/gpu/drm/amd/display/dc/{dce100/dce100_hw_sequencer.h => hwss/dce100/dce100_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{dce110/dce110_hw_sequencer.c => hwss/dce110/dce110_hwseq.c} (99%)
 rename drivers/gpu/drm/amd/display/dc/{dce110/dce110_hw_sequencer.h => hwss/dce110/dce110_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{dce112/dce112_hw_sequencer.c => hwss/dce112/dce112_hwseq.c} (98%)
 rename drivers/gpu/drm/amd/display/dc/{dce112/dce112_hw_sequencer.h => hwss/dce112/dce112_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{dce120/dce120_hw_sequencer.c => hwss/dce120/dce120_hwseq.c} (98%)
 rename drivers/gpu/drm/amd/display/dc/{dce120/dce120_hw_sequencer.h => hwss/dce120/dce120_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{dce80/dce80_hw_sequencer.c => hwss/dce80/dce80_hwseq.c} (94%)
 rename drivers/gpu/drm/amd/display/dc/{dce80/dce80_hw_sequencer.h => hwss/dce80/dce80_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{dcn10/dcn10_hw_sequencer.c => hwss/dcn10/dcn10_hwseq.c} (99%)
 rename drivers/gpu/drm/amd/display/dc/{dcn10/dcn10_hw_sequencer.h => hwss/dcn10/dcn10_hwseq.h} (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn20/dcn20_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn20/dcn20_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn201/dcn201_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn201/dcn201_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn21/dcn21_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn21/dcn21_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn30/dcn30_hwseq.c (96%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn30/dcn30_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn301/dcn301_hwseq.c (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn301/dcn301_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn302/dcn302_hwseq.c (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn302/dcn302_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn303/dcn303_hwseq.c (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn303/dcn303_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn31/dcn31_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn31/dcn31_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn314/dcn314_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn314/dcn314_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn32/dcn32_hwseq.c (98%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn32/dcn32_hwseq.h (98%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn35/dcn35_hwseq.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => hwss}/dcn35/dcn35_hwseq.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{inc => hwss}/hw_sequencer.h (99%)
 rename drivers/gpu/drm/amd/display/dc/{inc => hwss}/hw_sequencer_private.h (100%)

-- 
2.25.1



More information about the amd-gfx mailing list