Skip to content

DC Patches March 18, 2024

Wayne Lin amd-gfx stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest43 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/43drm/amd/display: Remove code duplicationdrivers/gpu/drm/amd/display/modules/info_packet/info_packet.c+0 -20 replies
2/43drm/amd/display: Remove wrong signal from vrr calculationdrivers/gpu/drm/amd/display/modules/freesync/freesync.c+1 -10 replies
3/43drm/amd/display: Enable 2to1 ODM policy for DCN35drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c+1 -12 replies
4/43drm/amd/display: Delete duplicated function prototypesdrivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr_smu_msg.h+1 -20 replies
5/43drm/amd/display: Correct indentations and spacesdrivers/gpu/drm/amd/display/dc/bios/bios_parser.c drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_smu.h +2 more+32 -310 replies
6/43drm/amd/display: Add the MALL size in the fallback functiondrivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c+5 -20 replies
7/43drm/amd/display: Move define to the proper headerdrivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.h drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c+1 -10 replies
8/43drm/amd/display: Enable fast update for DCN314drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c+1 -00 replies
9/43drm/amd/display: Remove legacy codedrivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c+0 -200 replies
10/43drm/amd/display: correct hostvm flagdrivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c+1 -10 replies
11/43drm/amd/display: Comments adjustmentsdrivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c+1 -20 replies
12/43drm/amd/display: Add missing registers and offsetdrivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_2_1_offset.h drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_2_1_sh_mask.h+52 -10 replies
13/43drm/amd/display: Fix noise issue on HDMI AV mutedrivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c+11 -10 replies
14/43drm/amd/display: skip forcing odm in minimal transitiondrivers/gpu/drm/amd/display/dc/core/dc.c+65 -320 replies
15/43drm/amd/display: revert Exit idle optimizations before HDCP executiondrivers/gpu/drm/amd/display/modules/hdcp/hdcp.c drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h+0 -180 replies
16/43drm/amd/display: Add debug option for idle reg checksdrivers/gpu/drm/amd/display/dc/dc.h+1 -00 replies
17/43drm/amd/display: Revert Add left edge pixel + ODM pipe splitdrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/core/dc_resource.c drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +2 more+0 -570 replies
18/43drm/amd/display: To adjust dprefclk by down spread percentagedrivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c+50 -00 replies
19/43drm/amd/display: Enabling urgent latency adjustment for DCN35drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c+2 -20 replies
20/43drm/amd/display: Revert "Set the power_down_on_boot function pointer to null"drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c+1 -10 replies
21/43drm/amd/display: add stream clock source to DP DTO paramsdrivers/gpu/drm/amd/display/dc/inc/hw/dccg.h+1 -00 replies
22/43drm/amd/display: Program pixclk according to dcn revisiondrivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c+6 -10 replies
23/43drm/amd/display: clear mpc_tree in init_pipesdrivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c+32 -00 replies
24/43drm/amd/display: [FW Promotion] Release 0.0.208.0drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h+2 -00 replies
25/43drm/amd/display: 3.2.276drivers/gpu/drm/amd/display/dc/dc.h+1 -10 replies
26/43drm/amd/display: Workaround register access in idle race with cursordrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c+17 -60 replies
27/43drm/amd/display: Revert Remove pixle rate limit for subvpdrivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c+1 -00 replies
28/43drm/amd/display: fix debug key not working on dml2drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c+6 -00 replies
29/43drm/amd/display: Power on VPG memory unconditionally if offdrivers/gpu/drm/amd/display/dc/dcn31/dcn31_vpg.c+6 -10 replies
30/43drm/amd/display: Added debug prints for zstate_support and StutterPerioddrivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c+4 -00 replies
31/43drm/amd/display: change aux_init to apu versiondrivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.h drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dio_link_encoder.c+4 -20 replies
32/43drm/amd/display: Increase Z8 watermark times.drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c+4 -40 replies
33/43drm/amd/display: Prevent crash on bring-updrivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c+2 -11 reply
34/43drm/amd/display: increase bb clock for DCN351drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c+76 -140 replies
35/43drm/amd/display: Detect and disallow idle reallow during reentrancydrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h+13 -20 replies
36/43drm/amd/display: Add optional optimization for IPS handshakedrivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h+8 -30 replies
37/43drm/amd/display: Enable optimized handshake for DCN35drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c+1 -00 replies
38/43drm/amd/display: Remove unnecessary hard coded DPM statesdrivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c+15 -20 replies
39/43drm/amd/display: Enable new interface design for alternate scramblingdrivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/link/link_dpms.c drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c +4 more+142 -150 replies
40/43drm/amd/display: Enable reallow for idle on DCN35drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c+1 -10 replies
41/43drm/amd/display: fix a bug to dereference already freed old current state memorydrivers/gpu/drm/amd/display/dc/core/dc.c+13 -80 replies
42/43drm/amd/display: Add TB_BORROWED_MAX definitiondrivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c+2 -00 replies
43/43drm/amd/display: 3.2.277drivers/gpu/drm/amd/display/dc/dc.h+1 -10 replies

Reviews trailers per patch

All 43 patches have a Reviewed-by or Acked-by.

PatchWayne LinWenjing LiuSamson TamNicholas KazlauskasGeorge ShenCharlene LiuJun LeiGabe TeegerChris ParkDuncan MaChaitanya DhereMartin LeungSwapnil PatelSung joon KimJosip PavicDillon VaroneDaniel Wheeler
SeriesT-b
1/43A-b
2/43A-b
3/43A-b
4/43A-b
5/43A-b
6/43A-b
7/43A-b
8/43A-b
9/43A-b
10/43A-b
11/43A-b
12/43A-b
13/43A-b R-b
14/43A-b R-b
15/43A-b R-b
16/43A-b R-b
17/43A-b R-b R-b R-b
18/43A-b R-b
19/43A-b R-b
20/43A-b R-b R-b
21/43A-b R-b
22/43A-b R-b
23/43A-b R-b
24/43A-b
25/43A-b
26/43A-b R-b
27/43A-b R-b R-b
28/43A-b R-b
29/43A-b R-b
30/43A-b R-b
31/43A-b R-b
32/43A-b R-b
33/43A-b A-b R-b R-b
34/43A-b R-b
35/43A-b R-b
36/43A-b R-b
37/43A-b R-b
38/43A-b R-b
39/43A-b R-b
40/43A-b R-b
41/43A-b R-b
42/43A-b R-b
43/43A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 17 reviewers.

Read the v1 thread

Cover letter [PATCH 00/43] DC Patches March 18, 2024

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

- Clear mpc_tree in init_pipes
- Program pixclk according to dcn revision
- Add stream clock source to DP DTO params
- Enabling urgent latency adjustment for DCN35
- To adjust dprefclk by down spread percentage
- Add debug option for idle reg checks
- Revert few patches which cause regression
- skip forcing odm in minimal transition
- Fix noise issue on HDMI AV mute
- Enable fast update for DCN314
- Enable 2to1 ODM policy for DCN35
- Fix DCN31 underflow problem
- Add the MALL size in the fallback function
- Modify coding style/errors and remove redundant codes
- Add missing registers and offset
- Fix few problems for DCN35
- Fix a bug which dereferences freed memory
- Enable new interface design for alternate scrambling
- Enhance IPS handshake
- Increase Z8 watermark times
- Fix DML2 problem
- Revert patch which cause regression
- Fix problems for dmub idle power optimization

Cc Daniel Wheeler <[email protected]>

---

Alex Hung (2):
drm/amd/display: Delete duplicated function prototypes drm/amd/display: Correct indentations and spaces

Anthony Koo (1):
drm/amd/display: [FW Promotion] Release 0.0.208.0

Aric Cyr (2):
drm/amd/display: 3.2.276
drm/amd/display: 3.2.277

Chaitanya Dhere (1):
drm/amd/display: Add TB_BORROWED_MAX definition

Charlene Liu (2):
drm/amd/display: fix debug key not working on dml2 drm/amd/display: change aux_init to apu version

Chris Park (1):
drm/amd/display: Prevent crash on bring-up

Dillon Varone (3):
drm/amd/display: add stream clock source to DP DTO params drm/amd/display: Program pixclk according to dcn revision drm/amd/display: Power on VPG memory unconditionally if off

Gabe Teeger (1):
drm/amd/display: Revert Add left edge pixel + ODM pipe split

Leo Ma (1):
drm/amd/display: Fix noise issue on HDMI AV mute

Martin Leung (1):
drm/amd/display: revert Exit idle optimizations before HDCP execution

Natanel Roizenman (2):
drm/amd/display: Added debug prints for zstate_support and
StutterPeriod
drm/amd/display: Increase Z8 watermark times.

Nicholas Kazlauskas (6):
drm/amd/display: Add debug option for idle reg checks drm/amd/display: Workaround register access in idle race with cursor drm/amd/display: Detect and disallow idle reallow during reentrancy drm/amd/display: Add optional optimization for IPS handshake drm/amd/display: Enable optimized handshake for DCN35 drm/amd/display: Enable reallow for idle on DCN35

Nicholas Susanto (1):
drm/amd/display: Enabling urgent latency adjustment for DCN35

Ovidiu Bunea (1):
drm/amd/display: Revert "Set the power_down_on_boot function pointer
to null"

Rodrigo Siqueira (9):
drm/amd/display: Remove code duplication drm/amd/display: Remove wrong signal from vrr calculation drm/amd/display: Enable 2to1 ODM policy for DCN35 drm/amd/display: Add the MALL size in the fallback function drm/amd/display: Move define to the proper header drm/amd/display: Enable fast update for DCN314 drm/amd/display: Remove legacy code drm/amd/display: Comments adjustments drm/amd/display: Add missing registers and offset

Samson Tam (1):
drm/amd/display: clear mpc_tree in init_pipes

Sherry Wang (1):
drm/amd/display: correct hostvm flag

Sung Joon Kim (1):
drm/amd/display: Enable new interface design for alternate scrambling

Wenjing Liu (3):
drm/amd/display: skip forcing odm in minimal transition drm/amd/display: Revert Remove pixle rate limit for subvp drm/amd/display: fix a bug to dereference already freed old current
state memory

Xi Liu (2):
drm/amd/display: increase bb clock for DCN351 drm/amd/display: Remove unnecessary hard coded DPM states

Zhongwei (1):
drm/amd/display: To adjust dprefclk by down spread percentage

 .../gpu/drm/amd/display/dc/bios/bios_parser.c |   1 +
 .../gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c  |  15 ++-
 .../display/dc/clk_mgr/dcn314/dcn314_smu.h    |  42 +++----
 .../dc/clk_mgr/dcn32/dcn32_clk_mgr_smu_msg.h  |   3 +-
 .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c  |  50 ++++++++
 drivers/gpu/drm/amd/display/dc/core/dc.c      | 118 +++++++++++-------
 .../gpu/drm/amd/display/dc/core/dc_resource.c |  40 +-----
 drivers/gpu/drm/amd/display/dc/core/dc_stat.c |   2 +-
 drivers/gpu/drm/amd/display/dc/dc.h           |   5 +-
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c  |  44 +++++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h  |   1 +
 .../display/dc/dcn31/dcn31_dio_link_encoder.c |   2 +-
 .../display/dc/dcn31/dcn31_dio_link_encoder.h |   2 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_vpg.c  |   7 +-
 .../display/dc/dcn35/dcn35_dio_link_encoder.c |   2 +-
 .../drm/amd/display/dc/dml/dcn31/dcn31_fpu.h  |   1 +
 .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c  |   1 +
 .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.c  |  12 +-
 .../amd/display/dc/dml/dcn351/dcn351_fpu.c    |  94 +++++++++++---
 .../amd/display/dc/dml2/display_mode_core.c   |   2 +
 .../display/dc/dml2/dml2_translation_helper.c |  17 ++-
 .../gpu/drm/amd/display/dc/dml2/dml2_utils.c  |   6 +
 .../amd/display/dc/hwss/dce110/dce110_hwseq.c |   3 +-
 .../amd/display/dc/hwss/dcn10/dcn10_hwseq.c   |  16 +++
 .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c   |  10 --
 .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c   |  12 +-
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   |  16 +++
 .../amd/display/dc/hwss/dcn35/dcn35_init.c    |   2 +-
 .../gpu/drm/amd/display/dc/inc/core_types.h   |   2 -
 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h  |   1 +
 drivers/gpu/drm/amd/display/dc/inc/resource.h |   4 -
 .../gpu/drm/amd/display/dc/link/link_dpms.c   |   3 +
 .../dc/link/protocols/link_dp_training.c      |  16 +--
 .../link/protocols/link_edp_panel_control.c   |  64 ++++++++++
 .../link/protocols/link_edp_panel_control.h   |   2 +
 .../dc/resource/dcn20/dcn20_resource.c        |   7 +-
 .../dc/resource/dcn31/dcn31_resource.c        |   5 +-
 .../dc/resource/dcn314/dcn314_resource.c      |  21 +---
 .../dc/resource/dcn316/dcn316_resource.c      |   1 -
 .../dc/resource/dcn32/dcn32_resource.c        |   3 +-
 .../dc/resource/dcn321/dcn321_resource.c      |   4 +-
 .../dc/resource/dcn35/dcn35_resource.c        |   5 +-
 .../dc/resource/dcn351/dcn351_resource.c      |   3 +
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   |  73 ++++++++++-
 .../amd/display/modules/freesync/freesync.c   |   2 +-
 .../gpu/drm/amd/display/modules/hdcp/hdcp.c   |  10 --
 .../drm/amd/display/modules/inc/mod_hdcp.h    |   8 --
 .../display/modules/info_packet/info_packet.c |   2 -
 .../include/asic_reg/dcn/dcn_3_2_1_offset.h   |  37 +++++-
 .../include/asic_reg/dcn/dcn_3_2_1_sh_mask.h  |  16 +++
 50 files changed, 581 insertions(+), 234 deletions(-)
Signature · 1 line
2.37.3