Skip to content

DC Patches Feb 28, 2020

Alex Hung amd-gfx stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/34drm/amd/display: Change default size for dummy plane in DML2drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c+15 -30 replies
2/34drm/amd/display: Enable DML2 debug flagsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+3 -00 replies
3/34drm/amd/display: Add some forward declarationsdrivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.h+2 -00 replies
4/34drm/amd/display: Add DML2 folder to include pathdrivers/gpu/drm/amd/display/dc/dml2/Makefile+1 -00 replies
5/34drm/amd/display: Set DCN351 BB and IP the same as DCN35drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c+1 -50 replies
6/34drm/amd/display: Override min required DCFCLK in dml1_validatedrivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.h+10 -00 replies
7/34drm/amd/display: Fix function banner for amdgpu_dm_psr_disable_all()drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c+1 -10 replies
8/34drm/amd/display: Allow dirty rects to be sent to dmub when abm is activedrivers/gpu/drm/amd/display/dc/core/dc.c+3 -00 replies
9/34drm/amd/display: Add debug key to allow disabling dtbclkdrivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c drivers/gpu/drm/amd/display/dc/dc.h+3 -10 replies
10/34drm/amd/display: Add debug prints for IPS testingdrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +1 more+86 -54 replies
11/34drm/amd/display: Exit idle optimizations before HDCP executiondrivers/gpu/drm/amd/display/modules/hdcp/hdcp.c drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h+18 -00 replies
12/34drm/amd/display: Add entry and exit countersdrivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h+7 -10 replies
13/34drm/amd/display: 3.2.274drivers/gpu/drm/amd/display/dc/dc.h+1 -10 replies
14/34drm/amd/display: Support long vblank featuredrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dc_hw_types.h drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c +9 more+253 -40 replies
15/34drm/amd/display: Add monitor patch for specific eDPdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c+4 -20 replies
16/34drm/amd/display: Init DPPCLK from SMU on dcn32drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h +2 more+41 -80 replies
17/34drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with no planedrivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c+28 -200 replies
18/34drm/amd/display: Fix idle check for shared firmware statedrivers/gpu/drm/amd/display/dc/core/dc.c+3 -90 replies
19/34drm/amd/display: Add guards for idle on reg read/writedrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h+10 -00 replies
20/34drm/amd/display: Guard cursor idle reallow by DC debug optiondrivers/gpu/drm/amd/display/dc/core/dc_stream.c+2 -20 replies
21/34drm/amd/display: Add debug counters to IPS exit printsdrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c+15 -30 replies
22/34drm/amd/display: Add left edge pixel for YCbCr422/420 + 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+57 -00 replies
23/34drm/amd/display: Amend coasting vtotal for replay low hzdrivers/gpu/drm/amd/display/dc/dc_types.h drivers/gpu/drm/amd/display/dc/inc/link.h drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c +4 more+18 -100 replies
24/34drm/amd/display: Refactor DPP into a component directorydrivers/gpu/drm/amd/display/Makefile drivers/gpu/drm/amd/display/dc/Makefile drivers/gpu/drm/amd/display/dc/dcn10/Makefile +30 more+128 -240 replies
25/34drm/amd/display: Set the power_down_on_boot function pointer to nulldrivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c+1 -12 replies
26/34drm/amd/display: Implement update_planes_and_stream_v3 sequencedrivers/gpu/drm/amd/display/dc/core/dc.c+469 -2310 replies
27/34drm/amd/display: Lock all enabled otg pipes even with no planesdrivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.h drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_init.c+26 -10 replies
28/34drm/amd/display: Implement wait_for_odm_update_pending_completedrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c +8 more+90 -40 replies
29/34drm/amd/display: Add a dc_state NULL check in dc_state_releasedrivers/gpu/drm/amd/display/dc/core/dc_state.c+2 -10 replies
30/34drm/amd/display: Backup and restore only on full updatesdrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/core/dc_state.c drivers/gpu/drm/amd/display/dc/dc.h +1 more+100 -970 replies
31/34drm/amd/display: Update DMUB flags and definitionsdrivers/gpu/drm/amd/display/dc/dce/dmub_replay.c drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h+38 -40 replies
32/34drm/amd/display: Return the correct HDCP error codedrivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c+3 -00 replies
33/34drm/amd/display: Add comments to v_total calculation and drop legacy TODOdrivers/gpu/drm/amd/display/include/link_service_types.h drivers/gpu/drm/amd/display/modules/freesync/freesync.c+2 -30 replies
34/34drm/amd/display: 3.2.275drivers/gpu/drm/amd/display/dc/dc.h+1 -10 replies

Reviews trailers per patch

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

PatchChaitanya DhereAlex HungJun LeiAlvin LeeHersen WuAurabindo PillaiAnthony KooCharlene LiuDuncan MaWayne LinDillon VaroneMartin LeungNicholas KazlauskasWenjing LiuDaniel Wheeler
SeriesT-b
1/34R-b A-b
2/34R-b A-b
3/34R-b A-b
4/34R-b A-b
5/34A-b R-b
6/34A-b R-b
7/34A-b R-b R-b
8/34A-b R-b
9/34A-b R-b
10/34A-b R-b
11/34A-b R-b
12/34A-b
13/34A-b
14/34A-b R-b
15/34A-b R-b
16/34R-b A-b
17/34A-b R-b
18/34A-b R-b
19/34A-b R-b
20/34A-b R-b
21/34A-b R-b
22/34A-b R-b
23/34A-b R-b
24/34A-b R-b
25/34A-b R-b
26/34A-b R-b
27/34A-b R-b
28/34A-b R-b
29/34A-b R-b
30/34A-b R-b
31/34A-b
32/34A-b
33/34A-b
34/34A-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 15 reviewers.

Read the v1 thread

Cover letter [PATCH 00/34] DC Patches Feb 28, 2020

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

* Fixes on HDCP, eDP and FW idle check.
* Enhancement in debug messages
* Improvement on updates sequences
* DPP refactoring to a new directory
* Enhancements in DMUB

Cc Daniel Wheeler <[email protected]>

Allen Pan (1):
drm/amd/display: Add a dc_state NULL check in dc_state_release

Alvin Lee (1):
drm/amd/display: Backup and restore only on full updates

Anthony Koo (2):
drm/amd/display: Add entry and exit counters drm/amd/display: Update DMUB flags and definitions

Aric Cyr (2):
drm/amd/display: 3.2.274
drm/amd/display: 3.2.275

Aurabindo Pillai (3):
drm/amd/display: Enable DML2 debug flags drm/amd/display: Add some forward declarations drm/amd/display: Add DML2 folder to include path

ChunTao Tso (1):
drm/amd/display: Amend coasting vtotal for replay low hz

Dillon Varone (1):
drm/amd/display: Init DPPCLK from SMU on dcn32

George Shen (1):
drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe split

Josip Pavic (1):
drm/amd/display: Allow dirty rects to be sent to dmub when abm is
active

Muhammad Ahmed (2):
drm/amd/display: Add debug key to allow disabling dtbclk drm/amd/display: Set the power_down_on_boot function pointer to null

Nicholas Kazlauskas (6):
drm/amd/display: Add debug prints for IPS testing drm/amd/display: Exit idle optimizations before HDCP execution drm/amd/display: Fix idle check for shared firmware state drm/amd/display: Add guards for idle on reg read/write drm/amd/display: Guard cursor idle reallow by DC debug option drm/amd/display: Add debug counters to IPS exit prints

Revalla Hari Krishna (1):
drm/amd/display: Refactor DPP into a component directory

Robin Chen (1):
drm/amd/display: Support long vblank feature

Rodrigo Siqueira (2):
drm/amd/display: Return the correct HDCP error code drm/amd/display: Add comments to v_total calculation and drop legacy
TODO

Roman Li (1):
drm/amd/display: Fix function banner for amdgpu_dm_psr_disable_all()

Ryan Lin (1):
drm/amd/display: Add monitor patch for specific eDP

Sohaib Nadeem (1):
drm/amd/display: Override min required DCFCLK in dml1_validate

Swapnil Patel (1):
drm/amd/display: Change default size for dummy plane in DML2

Wenjing Liu (4):
drm/amd/display: Update odm when ODM combine is changed on an otg
master pipe with no plane
drm/amd/display: Implement update_planes_and_stream_v3 sequence drm/amd/display: Lock all enabled otg pipes even with no planes drm/amd/display: Implement wait_for_odm_update_pending_complete

Xi Liu (1):
drm/amd/display: Set DCN351 BB and IP the same as DCN35

 drivers/gpu/drm/amd/display/Makefile          |   1 +
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   3 +
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |   6 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c |   2 +-
 drivers/gpu/drm/amd/display/dc/Makefile       |   2 +-
 .../display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c  |  14 +
 .../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c  |   3 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c      | 824 ++++++++++++------
 .../gpu/drm/amd/display/dc/core/dc_resource.c |  37 +
 .../gpu/drm/amd/display/dc/core/dc_state.c    |   4 +-
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |   4 +-
 drivers/gpu/drm/amd/display/dc/dc.h           | 174 ++--
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c  |  94 ++
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h  |   1 +
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h  |   1 +
 drivers/gpu/drm/amd/display/dc/dc_types.h     |   4 +-
 .../gpu/drm/amd/display/dc/dce/dmub_replay.c  |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn10/Makefile |   4 +-
 .../amd/display/dc/dcn10/dcn10_cm_common.c    |   2 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_opp.c  |   1 +
 drivers/gpu/drm/amd/display/dc/dcn20/Makefile |   2 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_opp.c  |  14 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_opp.h  |   2 +
 .../gpu/drm/amd/display/dc/dcn201/Makefile    |   2 +-
 .../drm/amd/display/dc/dcn201/dcn201_opp.c    |   1 +
 drivers/gpu/drm/amd/display/dc/dcn30/Makefile |   2 -
 .../amd/display/dc/dcn30/dcn30_cm_common.c    |   2 +-
 drivers/gpu/drm/amd/display/dc/dcn32/Makefile |   2 +-
 .../display/dc/dcn32/dcn32_resource_helpers.c |   6 +
 drivers/gpu/drm/amd/display/dc/dcn35/Makefile |   2 +-
 drivers/gpu/drm/amd/display/dc/dml2/Makefile  |   1 +
 .../display/dc/dml2/dml2_dc_resource_mgmt.h   |   2 +
 .../display/dc/dml2/dml2_translation_helper.c |  24 +-
 .../drm/amd/display/dc/dml2/dml2_wrapper.c    |  28 +-
 .../drm/amd/display/dc/dml2/dml2_wrapper.h    |   3 +
 drivers/gpu/drm/amd/display/dc/dpp/Makefile   |  77 ++
 .../amd/display/dc/dpp/dcn10/CMakeLists.txt   |   6 +
 .../display/dc/{ => dpp}/dcn10/dcn10_dpp.c    |   2 +-
 .../display/dc/{ => dpp}/dcn10/dcn10_dpp.h    |   0
 .../display/dc/{ => dpp}/dcn10/dcn10_dpp_cm.c |   4 +-
 .../dc/{ => dpp}/dcn10/dcn10_dpp_dscl.c       |   2 +-
 .../amd/display/dc/dpp/dcn20/CMakeLists.txt   |   5 +
 .../display/dc/{ => dpp}/dcn20/dcn20_dpp.c    |   2 +-
 .../display/dc/{ => dpp}/dcn20/dcn20_dpp.h    |   0
 .../display/dc/{ => dpp}/dcn20/dcn20_dpp_cm.c |   2 +-
 .../amd/display/dc/dpp/dcn201/CMakeLists.txt  |   4 +
 .../display/dc/{ => dpp}/dcn201/dcn201_dpp.c  |   2 +-
 .../display/dc/{ => dpp}/dcn201/dcn201_dpp.h  |   0
 .../amd/display/dc/dpp/dcn30/CMakeLists.txt   |   5 +
 .../display/dc/{ => dpp}/dcn30/dcn30_dpp.c    |   4 +-
 .../display/dc/{ => dpp}/dcn30/dcn30_dpp.h    |   0
 .../display/dc/{ => dpp}/dcn30/dcn30_dpp_cm.c |   4 +-
 .../amd/display/dc/dpp/dcn32/CMakeLists.txt   |   4 +
 .../display/dc/{ => dpp}/dcn32/dcn32_dpp.c    |   2 +-
 .../display/dc/{ => dpp}/dcn32/dcn32_dpp.h    |   0
 .../amd/display/dc/dpp/dcn35/CMakeLists.txt   |   4 +
 .../display/dc/{ => dpp}/dcn35/dcn35_dpp.c    |   2 +-
 .../display/dc/{ => dpp}/dcn35/dcn35_dpp.h    |   0
 .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c   |  55 +-
 .../amd/display/dc/hwss/dcn32/dcn32_hwseq.c   |  30 +
 .../amd/display/dc/hwss/dcn32/dcn32_hwseq.h   |   2 +
 .../amd/display/dc/hwss/dcn32/dcn32_init.c    |   2 +-
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   |  28 +
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.h   |   3 +
 .../amd/display/dc/hwss/dcn35/dcn35_init.c    |   5 +-
 .../drm/amd/display/dc/hwss/hw_sequencer.h    |   1 +
 .../gpu/drm/amd/display/dc/inc/core_types.h   |  24 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h   |   3 +
 .../amd/display/dc/inc/hw/timing_generator.h  |   8 +
 drivers/gpu/drm/amd/display/dc/inc/link.h     |   4 +-
 drivers/gpu/drm/amd/display/dc/inc/resource.h |   4 +
 .../link/protocols/link_edp_panel_control.c   |   4 +-
 .../link/protocols/link_edp_panel_control.h   |   4 +-
 .../amd/display/dc/optc/dcn10/dcn10_optc.h    |   9 +-
 .../amd/display/dc/optc/dcn32/dcn32_optc.c    |   8 +
 .../amd/display/dc/optc/dcn32/dcn32_optc.h    |   1 +
 .../amd/display/dc/optc/dcn35/dcn35_optc.c    | 165 +++-
 .../amd/display/dc/optc/dcn35/dcn35_optc.h    |   6 +-
 .../dc/resource/dcn32/dcn32_resource.c        |   3 +
 .../dc/resource/dcn32/dcn32_resource.h        |   3 +
 .../dc/resource/dcn321/dcn321_resource.c      |   2 +
 .../dc/resource/dcn35/dcn35_resource.h        |   2 +
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   |  56 +-
 .../amd/display/include/link_service_types.h  |   1 -
 .../drm/amd/display/include/logger_types.h    |   1 +
 .../amd/display/modules/freesync/freesync.c   |   6 +-
 .../gpu/drm/amd/display/modules/hdcp/hdcp.c   |  10 +
 .../drm/amd/display/modules/hdcp/hdcp_psp.c   |   3 +
 .../drm/amd/display/modules/inc/mod_hdcp.h    |   8 +
 .../amd/display/modules/power/power_helpers.c |   2 +-
 .../amd/display/modules/power/power_helpers.h |   2 +-
 91 files changed, 1436 insertions(+), 436 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/Makefile
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn10/dcn10_dpp.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn10/dcn10_dpp.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn10/dcn10_dpp_cm.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn10/dcn10_dpp_dscl.c (99%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn20/dcn20_dpp.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn20/dcn20_dpp.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn20/dcn20_dpp_cm.c (99%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn201/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn201/dcn201_dpp.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn201/dcn201_dpp.h (100%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn30/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn30/dcn30_dpp.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn30/dcn30_dpp.h (100%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn30/dcn30_dpp_cm.c (99%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn32/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn32/dcn32_dpp.c (99%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn32/dcn32_dpp.h (100%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/dpp/dcn35/CMakeLists.txt
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn35/dcn35_dpp.c (98%)
 rename drivers/gpu/drm/amd/display/dc/{ => dpp}/dcn35/dcn35_dpp.h (100%)
Signature · 1 line
2.34.1