Skip to content

Add initial support for Yellow Carp

Alex Deucher amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest88 of 89 patches 1 replyIn review

88 of 89 patches are in this archive. The cover letter announces 89.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/89drm/amdgpu: add yellow carp asic_type enumdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c include/drm/amd_asic_type.h+2 -00 replies
3/89drm/amdgpu: add uapi to define yellow carp seriesinclude/uapi/drm/amdgpu_drm.h+1 -00 replies
4/89drm/amdgpu: add yellow carp support for gpu_info and ip block settingdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+7 -00 replies
5/89drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2)drivers/gpu/drm/amd/amdgpu/Makefile drivers/gpu/drm/amd/amdgpu/nv.h drivers/gpu/drm/amd/amdgpu/yellow_carp_reg_init.c +1 more+1420 -10 replies
6/89drm/amdgpu: add nv common ip block support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+8 -00 replies
7/89drm/amdgpu: add yellow carp support for ih blockdrivers/gpu/drm/amd/amdgpu/navi10_ih.c+1 -00 replies
8/89drm/amdgpu: add gmc v10 supports for yellow carpdrivers/gpu/drm/amd/amdgpu/gmc_v10_0.c+7 -20 replies
9/89drm/amdgpu: support fw load type for yellow carpdrivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c+1 -00 replies
10/89drm/amdgpu: add gfx support for yellow carpdrivers/gpu/drm/amd/amdgpu/gfx_v10_0.c+26 -00 replies
11/89drm/amdgpu: add sdma support for yellow carpdrivers/gpu/drm/amd/amdgpu/sdma_v5_2.c+7 -00 replies
12/89drm/amdgpu: set ip blocks for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+9 -00 replies
13/89drm/amdkfd: add yellow carp KFD supportdrivers/gpu/drm/amd/amdkfd/kfd_crat.c drivers/gpu/drm/amd/amdkfd/kfd_device.c drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +3 more+75 -00 replies
14/89drm/amdgpu: support nbio_7_2_1 for yellow carpdrivers/gpu/drm/amd/amdgpu/nbio_v7_2.c+104 -380 replies
15/89drm/admgpu/pm: add smu v13 driver interface header for yellow carp (v3)drivers/gpu/drm/amd/pm/inc/smu13_driver_if_yellow_carp.h+222 -00 replies
16/89drm/amdgpu/pm: add smu v13.0.1 firmware header for yellow carp (V4)drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h+139 -00 replies
17/89drm/amdgpu/pm: add smu v13.0.1 smc header for yellow carp (v2)drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_ppsmc.h+97 -00 replies
18/89drm/amd/pm: add smu13 ip support for moment(V3)drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h drivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h drivers/gpu/drm/amd/pm/swsmu/smu13/Makefile +1 more+185 -10 replies
19/89drm/amd/pm: add yellow_carp_ppt implementation(V3)drivers/gpu/drm/amd/pm/swsmu/smu13/Makefile drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.h+192 -10 replies
20/89drm/amd/pm: partially enable swsmu for yellow carp(V2)drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+6 -00 replies
21/89drm/amdgpu: add smu ip block for yellow carp(V3)drivers/gpu/drm/amd/amdgpu/nv.c drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+5 -10 replies
22/89drm/amdgpu: add gfx golden settings for yellow carp (v3)drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c+29 -00 replies
23/89drm/amdgpu: introduce a stolen reserved buffer to protect specific buffer region (v2)drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +2 more+32 -00 replies
24/89drm/amdgpu: reserved buffer is not needed with ip discovery enableddrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c+7 -40 replies
25/89drm/amdgpu: add mmhub client support for yellow carpdrivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c+1 -00 replies
26/89drm/amdgpu: add psp_v13 support for yellow carpdrivers/gpu/drm/amd/amdgpu/psp_v13_0.c+26 -70 replies
27/89drm/amdgpu: enable psp_v13 for yellow carpdrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/nv.c+6 -00 replies
28/89drm/amdgpu/pm: set_pp_feature is unsupport for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+1 -20 replies
29/89drm/amdgpu/pm: add set_driver_table_location implementation for yellow carpdrivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_1.c drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+25 -00 replies
30/89drm/amdgpu: add GFX Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+9 -10 replies
31/89drm/amdgpu: add MMHUB Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+3 -10 replies
32/89drm/amdgpu: add GFX Power Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+1 -10 replies
33/89drm/amdgpu/pm: enable smu_hw_init for yellow carpdrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+0 -30 replies
34/89drm/amdgpu/pm: add gfx_off_control for yellow carpdrivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_1.c drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+24 -00 replies
35/89drm/amdgpu/pm: enable gfx_off in yellow carp smu post initdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+13 -00 replies
36/89drm/amdgpu: add SDMA Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+2 -10 replies
37/89drm/amdgpu: add HDP Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+3 -10 replies
38/89drm/amdgpu: add ATHUB Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+3 -10 replies
39/89drm/amdgpu: add IH Clock Gating support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+2 -10 replies
40/89drm/amd/pm: add vcn/jepg enable functions for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+33 -00 replies
41/89drm/amdgpu/jpeg: Remove harvest checking on CHIP_YELLOW_CARPdrivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c+6 -30 replies
42/89drm/amdgpu/vcn: add vcn support for yellow carpdrivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c+8 -00 replies
43/89drm/amdgpu: enable vcn/jpeg on yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+3 -00 replies
44/89drm/amdgpu: enable vcn dpg mode on yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+2 -10 replies
45/89drm/amdgpu: enable VCN PG and CG for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+6 -20 replies
46/89drm/amdgpu/pm: support smu_post_init for yellow carpdrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c+3 -30 replies
47/89drm/amdgpu: add RLC_PG_DELAY_3 for yellow carpdrivers/gpu/drm/amd/amdgpu/gfx_v10_0.c+16 -50 replies
48/89drm/amdgpu: add timestamp counter query support for yellow carpdrivers/gpu/drm/amd/amdgpu/gfx_v10_0.c+1 -00 replies
49/89drm/amd/pm: add read_sensor function for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+140 -00 replies
50/89drm/amd/pm: add set_watermarks_table function for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+61 -00 replies
51/89drm/amd/pm: add the fine grain tuning function for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+116 -00 replies
52/89drm/amd/pm: add support to get dpm clock value for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+127 -10 replies
53/89drm/amd/pm: add feature map for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+42 -00 replies
54/89drm/amd/pm: implement is_dpm_running() callback for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+21 -90 replies
55/89drm/amd/pm: initialize feature_enabled/feature_support bitmap for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+25 -00 replies
56/89drm/amd/pm: add callback force_clk_levels for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+114 -00 replies
57/89drm/amd/pm: add PrepareMp1ForUnload support for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+4 -00 replies
58/89drm/amdgpu: Load TA firmware for yellow carpdrivers/gpu/drm/amd/amdgpu/psp_v13_0.c+4 -00 replies
59/89drm/amd/pm: add callback to get bootup values for yellow carpdrivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_1.c drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+139 -00 replies
60/89drm/amd/pm: add callback get_dpm_ultimate_freq for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+111 -00 replies
61/89drm/amd/pm: add callbacks to read/write sysfs file pp_power_profile_modedrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+86 -00 replies
62/89drm/amd/pm: add the interface to dump smu metrics table for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+55 -10 replies
63/89drm/amdgpu: add gpu harvest support for yellow carp (v2)drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c+48 -00 replies
64/89drm/amdgpu: correct the cu and rb info for yellow carpdrivers/gpu/drm/amd/amdgpu/gfx_v10_0.c+4 -20 replies
65/89drm/amd/pm: add set_performance_level function for yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+84 -00 replies
66/89drm/amdgpu: add mode2 reset support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+27 -00 replies
67/89drm/amd/pm: disable manually setting MCLK power level on yellow carpdrivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c+10 -120 replies
68/89drm/amdgpu: add video_codecs query support for yellow carpdrivers/gpu/drm/amd/amdgpu/nv.c+1 -00 replies
69/89drm/amdgpu: Update atomfirmware for DCN3.1 phy tuning and eDP capsdrivers/gpu/drm/amd/include/atomfirmware.h+55 -10 replies
70/89drm/amd/display: Add DCN3.1 yellow carp asic family IDsdrivers/gpu/drm/amd/display/include/dal_asic_id.h drivers/gpu/drm/amd/display/include/dal_types.h+16 -00 replies
71/89drm/amd/display: Add DCN3.1 clock manager supportdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c +8 more+1454 -00 replies
72/89drm/amd/display: Add DCN3.1 DCCGdrivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.h +1 more+536 -00 replies
73/89drm/amd/display: Add DCN3.1 DIOdrivers/gpu/drm/amd/display/dc/core/dc_link.c drivers/gpu/drm/amd/display/dc/core/dc_resource.c drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h +3 more+716 -00 replies
74/89drm/amd/display: Add DCN3.1 OPTCdrivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c +2 more+563 -00 replies
75/89drm/amd/display: Add DCN3.1 DCHHUBdrivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h +9 more+1561 -00 replies
76/89drm/amd/display: Add DCN3.1 DML calculation supportdrivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c drivers/gpu/drm/amd/display/dc/dml/Makefile drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c +8 more+9523 -00 replies
77/89drm/amd/display: Add DCN3.1 IRQ managerdrivers/gpu/drm/amd/display/dc/irq/Makefile drivers/gpu/drm/amd/display/dc/irq/dcn31/irq_service_dcn31.c drivers/gpu/drm/amd/display/dc/irq/dcn31/irq_service_dcn31.h+480 -00 replies
78/89drm/amd/display: Add DCN3.1 GPIO supportdrivers/gpu/drm/amd/display/dc/gpio/hw_factory.c drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c+6 -00 replies
79/89drm/amd/display: Add DCN3.1 DMCUBdrivers/gpu/drm/amd/display/dc/dc_dmub_srv.c drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h drivers/gpu/drm/amd/display/dmub/dmub_srv.h +5 more+780 -00 replies
80/89drm/amd/display: Add DCN3.1 PANELdrivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.h+197 -00 replies
81/89drm/amd/display: Add DCN3.1 HDCP supportdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c drivers/gpu/drm/amd/display/dc/dm_cp_psp.h drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c +3 more+214 -40 replies
82/89drm/amd/display: Add DCN3.1 BIOS parser supportdrivers/gpu/drm/amd/display/dc/bios/bios_parser2.c drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c+118 -00 replies
83/89drm/amd/display: Add DCN3.1 HWSEQdrivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +5 more+888 -20 replies
84/89drm/amd/display: Add z10 restore checks for DC interfacesdrivers/gpu/drm/amd/display/dc/core/dc.c drivers/gpu/drm/amd/display/dc/core/dc_link.c drivers/gpu/drm/amd/display/dc/core/dc_stream.c +1 more+30 -00 replies
85/89drm/amd/display: Add DCN3.1 Resourcedrivers/gpu/drm/amd/display/dc/core/dc_resource.c drivers/gpu/drm/amd/display/dc/dc.h drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c +1 more+2245 -00 replies
86/89drm/amd/display: Add DCN3.1 blocks to the DC Makefiledrivers/gpu/drm/amd/display/dc/Makefile drivers/gpu/drm/amd/display/dc/dcn31/Makefile+38 -00 replies
87/89drm/amd/display: Add DCN3.1 Yellow Carp support to DMdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+44 -00 replies
88/89drm/amd/display: Add DC DCN3.1 support to Kconfigdrivers/gpu/drm/amd/display/Kconfig+7 -00 replies
89/89drm/amdgpu: Add DC support and display block for Yellow Carpdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/nv.c+7 -10 replies

Reviews trailers per patch

66 of 88 patches have a Reviewed-by or Acked-by.

PatchHuang RuiAlex DeucherLijo LazarAaron LiuHawking ZhangJames ZhuLeo Liuchen gongKevin WangEvan Quan
2/89R-b
3/89R-b
4/89R-b
5/89R-b
6/89R-b
7/89R-b
8/89R-b
9/89R-b
10/89R-b
11/89R-b
12/89R-b
13/89R-b
14/89R-b
15/89R-b A-b
16/89R-b A-b
17/89R-b A-b
18/89R-b A-b R-b
19/89R-b A-b R-b
20/89R-b A-b
21/89R-b A-b
22/89R-b
23/89A-b Acked-and-Tested-by
24/89R-b
25/89R-b
26/89R-b
27/89R-b
28/89R-b
29/89R-b
30/89R-b
31/89R-b
32/89R-b
33/89R-b
34/89R-b
35/89R-b
36/89R-b
37/89R-b
38/89R-b
39/89R-b
40/89R-b R-b T-b R-b
41/89A-b R-b R-b
42/89A-b R-b R-b
43/89A-b R-b R-b
44/89A-b R-b R-b
45/89R-b
46/89R-b
47/89R-b
48/89R-b R-b
49/89R-b
50/89R-b
51/89R-b
52/89R-b R-b
53/89R-b
54/89R-b
55/89R-b
56/89R-b R-b
57/89R-b
58/89
59/89R-b
60/89R-b
61/89R-b
62/89R-b
63/89R-b
64/89R-b
65/89A-b
66/89R-b
67/89R-b
68/89A-b
69/89
70/89
71/89
72/89
73/89
74/89
75/89
76/89
77/89
78/89
79/89
80/89
81/89
82/89
83/89
84/89
85/89
86/89
87/89
88/89
89/89

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

Read the v1 thread

Cover letter [PATCH 00/89] Add initial support for Yellow Carp

This patch set adds initial support for Yellow Carp, a new GPU from AMD.

I did not send out patch 1 due to its size (new register headers), but you can view the entire patch set here:
https://gitlab.freedesktop.org/agd5f/linux/-/commits/yellow_carp

Aaron Liu (42):
drm/amdgpu: add yellow carp asic header files (v3) drm/amdgpu: add yellow carp asic_type enum
drm/amdgpu: add uapi to define yellow carp series drm/amdgpu: add yellow carp support for gpu_info and ip block setting drm/amdgpu: add nv common ip block support for yellow carp drm/amdgpu: add yellow carp support for ih block drm/amdgpu: add gmc v10 supports for yellow carp drm/amdgpu: support fw load type for yellow carp drm/amdgpu: add gfx support for yellow carp
drm/amdgpu: add sdma support for yellow carp
drm/amdgpu: set ip blocks for yellow carp
drm/amdkfd: add yellow carp KFD support
drm/amdgpu: support nbio_7_2_1 for yellow carp drm/admgpu/pm: add smu v13 driver interface header for yellow carp

    (v3)

drm/amdgpu/pm: add smu v13.0.1 firmware header for yellow carp (V4) drm/amdgpu/pm: add smu v13.0.1 smc header for yellow carp (v2) drm/amd/pm: add smu13 ip support for moment(V3) drm/amd/pm: add yellow_carp_ppt implementation(V3) drm/amd/pm: partially enable swsmu for yellow carp(V2) drm/amdgpu: add smu ip block for yellow carp(V3) drm/amdgpu: add gfx golden settings for yellow carp (v3) drm/amdgpu: reserved buffer is not needed with ip discovery enabled drm/amdgpu: add psp_v13 support for yellow carp drm/amdgpu: enable psp_v13 for yellow carp
drm/amdgpu/pm: set_pp_feature is unsupport for yellow carp drm/amdgpu/pm: add set_driver_table_location implementation for yellow
carp
drm/amdgpu: add GFX Clock Gating support for yellow carp drm/amdgpu: add MMHUB Clock Gating support for yellow carp drm/amdgpu: add GFX Power Gating support for yellow carp drm/amdgpu/pm: enable smu_hw_init for yellow carp drm/amdgpu/pm: add gfx_off_control for yellow carp drm/amdgpu/pm: enable gfx_off in yellow carp smu post init drm/amdgpu: add SDMA Clock Gating support for yellow carp drm/amdgpu: add HDP Clock Gating support for yellow carp drm/amdgpu: add ATHUB Clock Gating support for yellow carp drm/amdgpu: add IH Clock Gating support for yellow carp drm/amdgpu: enable VCN PG and CG for yellow carp drm/amdgpu/pm: support smu_post_init for yellow carp drm/amdgpu: add RLC_PG_DELAY_3 for yellow carp
drm/amdgpu: add timestamp counter query support for yellow carp drm/amd/pm: add PrepareMp1ForUnload support for yellow carp drm/amdgpu: add mode2 reset support for yellow carp

Alex Deucher (2):
drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp

    (v2)

drm/amdgpu: add mmhub client support for yellow carp

Huang Rui (2):
drm/amdgpu: introduce a stolen reserved buffer to protect specific
buffer region (v2)
drm/amd/pm: add vcn/jepg enable functions for yellow carp

James Zhu (5):
drm/amdgpu/jpeg: Remove harvest checking on CHIP_YELLOW_CARP drm/amdgpu/vcn: add vcn support for yellow carp drm/amdgpu: enable vcn/jpeg on yellow carp drm/amdgpu: enable vcn dpg mode on yellow carp drm/amdgpu: add video_codecs query support for yellow carp

Nicholas Kazlauskas (22):
drm/amdgpu: Load TA firmware for yellow carp drm/amdgpu: Update atomfirmware for DCN3.1 phy tuning and eDP caps drm/amd/display: Add DCN3.1 yellow carp asic family IDs drm/amd/display: Add DCN3.1 clock manager support drm/amd/display: Add DCN3.1 DCCG
drm/amd/display: Add DCN3.1 DIO
drm/amd/display: Add DCN3.1 OPTC
drm/amd/display: Add DCN3.1 DCHHUB
drm/amd/display: Add DCN3.1 DML calculation support drm/amd/display: Add DCN3.1 IRQ manager drm/amd/display: Add DCN3.1 GPIO support drm/amd/display: Add DCN3.1 DMCUB
drm/amd/display: Add DCN3.1 PANEL
drm/amd/display: Add DCN3.1 HDCP support drm/amd/display: Add DCN3.1 BIOS parser support drm/amd/display: Add DCN3.1 HWSEQ
drm/amd/display: Add z10 restore checks for DC interfaces drm/amd/display: Add DCN3.1 Resource
drm/amd/display: Add DCN3.1 blocks to the DC Makefile drm/amd/display: Add DCN3.1 Yellow Carp support to DM drm/amd/display: Add DC DCN3.1 support to Kconfig drm/amdgpu: Add DC support and display block for Yellow Carp

Xiaomeng Hou (16):
drm/amd/pm: add read_sensor function for yellow carp drm/amd/pm: add set_watermarks_table function for yellow carp drm/amd/pm: add the fine grain tuning function for yellow carp drm/amd/pm: add support to get dpm clock value for yellow carp drm/amd/pm: add feature map for yellow carp
drm/amd/pm: implement is_dpm_running() callback for yellow carp drm/amd/pm: initialize feature_enabled/feature_support bitmap for
yellow carp
drm/amd/pm: add callback force_clk_levels for yellow carp drm/amd/pm: add callback to get bootup values for yellow carp drm/amd/pm: add callback get_dpm_ultimate_freq for yellow carp drm/amd/pm: add callbacks to read/write sysfs file
pp_power_profile_mode
drm/amd/pm: add the interface to dump smu metrics table for yellow
carp
drm/amdgpu: add gpu harvest support for yellow carp (v2) drm/amdgpu: correct the cu and rb info for yellow carp drm/amd/pm: add set_performance_level function for yellow carp drm/amd/pm: disable manually setting MCLK power level on yellow carp

 drivers/gpu/drm/amd/amdgpu/Makefile           |      2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |      9 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h    |      1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c       |     19 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h       |      1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       |      4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c       |     10 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h       |      4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c     |      1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c       |      8 +
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c        |     83 +-
 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c      |     40 +
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c        |     17 +-
 drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c        |      9 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c       |      1 +
 drivers/gpu/drm/amd/amdgpu/navi10_ih.c        |      1 +
 drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c        |    142 +-
 drivers/gpu/drm/amd/amdgpu/nv.c               |     51 +
 drivers/gpu/drm/amd/amdgpu/nv.h               |      2 +
 drivers/gpu/drm/amd/amdgpu/psp_v13_0.c        |     37 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c        |      7 +
 .../gpu/drm/amd/amdgpu/yellow_carp_reg_init.c |     51 +
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c         |     52 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c       |     19 +
 .../drm/amd/amdkfd/kfd_device_queue_manager.c |      1 +
 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c  |      1 +
 .../gpu/drm/amd/amdkfd/kfd_packet_manager.c   |      1 +
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c     |      1 +
 drivers/gpu/drm/amd/display/Kconfig           |      7 +
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |     44 +
 .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c    |     13 +
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |      6 +
 drivers/gpu/drm/amd/display/dc/Makefile       |      3 +
 .../drm/amd/display/dc/bios/bios_parser2.c    |    113 +
 .../display/dc/bios/command_table_helper2.c   |      5 +
 .../gpu/drm/amd/display/dc/clk_mgr/Makefile   |     11 +
 .../gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c  |     30 +
 .../display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c  |      4 +
 .../display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c  |    673 +
 .../display/dc/clk_mgr/dcn31/dcn31_clk_mgr.h  |    103 +
 .../amd/display/dc/clk_mgr/dcn31/dcn31_smu.c  |    333 +
 .../amd/display/dc/clk_mgr/dcn31/dcn31_smu.h  |    271 +
 drivers/gpu/drm/amd/display/dc/core/dc.c      |     17 +
 drivers/gpu/drm/amd/display/dc/core/dc_link.c |     18 +
 .../gpu/drm/amd/display/dc/core/dc_resource.c |     26 +
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |      6 +
 drivers/gpu/drm/amd/display/dc/dc.h           |     28 +
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c  |     23 +
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h  |      3 +
 .../gpu/drm/amd/display/dc/dce/dce_hwseq.h    |     21 +-
 .../display/dc/dce110/dce110_hw_sequencer.c   |     23 +
 .../drm/amd/display/dc/dcn10/dcn10_hubbub.h   |     48 +
 .../amd/display/dc/dcn10/dcn10_link_encoder.h |     20 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_optc.c |     11 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_optc.h |      2 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h |     54 +
 .../drm/amd/display/dc/dcn20/dcn20_hubbub.h   |      9 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h |     16 +
 .../drm/amd/display/dc/dcn20/dcn20_hwseq.c    |     37 +
 .../drm/amd/display/dc/dcn20/dcn20_resource.c |     39 +
 .../drm/amd/display/dc/dcn30/dcn30_hwseq.c    |      5 +
 drivers/gpu/drm/amd/display/dc/dcn31/Makefile |     35 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c |    279 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_dccg.h |    147 +
 .../display/dc/dcn31/dcn31_dio_link_encoder.c |    412 +
 .../display/dc/dcn31/dcn31_dio_link_encoder.h |    246 +
 .../drm/amd/display/dc/dcn31/dcn31_hubbub.c   |    956 +
 .../drm/amd/display/dc/dcn31/dcn31_hubbub.h   |    122 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c |    103 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_hubp.h |    246 +
 .../drm/amd/display/dc/dcn31/dcn31_hwseq.c    |    598 +
 .../drm/amd/display/dc/dcn31/dcn31_hwseq.h    |     56 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_init.c |    151 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_init.h |     33 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_optc.c |    287 +
 .../gpu/drm/amd/display/dc/dcn31/dcn31_optc.h |    259 +
 .../amd/display/dc/dcn31/dcn31_panel_cntl.c   |    157 +
 .../amd/display/dc/dcn31/dcn31_panel_cntl.h   |     40 +
 .../drm/amd/display/dc/dcn31/dcn31_resource.c |   2180 +
 .../drm/amd/display/dc/dcn31/dcn31_resource.h |     42 +
 drivers/gpu/drm/amd/display/dc/dm_cp_psp.h    |      5 +
 drivers/gpu/drm/amd/display/dc/dm_helpers.h   |      6 +
 drivers/gpu/drm/amd/display/dc/dml/Makefile   |     11 +
 .../dc/dml/dcn31/display_mode_vba_31.c        |   7506 ++
 .../dc/dml/dcn31/display_mode_vba_31.h        |     43 +
 .../dc/dml/dcn31/display_rq_dlg_calc_31.c     |   1727 +
 .../dc/dml/dcn31/display_rq_dlg_calc_31.h     |     69 +
 .../drm/amd/display/dc/dml/display_mode_lib.c |     18 +
 .../drm/amd/display/dc/dml/display_mode_lib.h |      4 +
 .../amd/display/dc/dml/display_mode_structs.h |     12 +
 .../drm/amd/display/dc/dml/display_mode_vba.c |     42 +
 .../drm/amd/display/dc/dml/display_mode_vba.h |     52 +
 .../gpu/drm/amd/display/dc/gpio/hw_factory.c  |      3 +
 .../drm/amd/display/dc/gpio/hw_translate.c    |      3 +
 .../gpu/drm/amd/display/dc/inc/core_types.h   |     10 +
 .../gpu/drm/amd/display/dc/inc/hw/clk_mgr.h   |      3 +
 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h  |     56 +
 .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h  |      5 +
 .../drm/amd/display/dc/inc/hw/link_encoder.h  |     14 +
 .../gpu/drm/amd/display/dc/inc/hw/mem_input.h |      4 +
 .../amd/display/dc/inc/hw/timing_generator.h  |      4 +
 .../gpu/drm/amd/display/dc/inc/hw_sequencer.h |      4 +
 drivers/gpu/drm/amd/display/dc/irq/Makefile   |     11 +
 .../display/dc/irq/dcn31/irq_service_dcn31.c  |    432 +
 .../display/dc/irq/dcn31/irq_service_dcn31.h  |     37 +
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h   |     12 +
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   |    118 +
 drivers/gpu/drm/amd/display/dmub/src/Makefile |      3 +
 .../gpu/drm/amd/display/dmub/src/dmub_dcn31.c |    354 +
 .../gpu/drm/amd/display/dmub/src/dmub_dcn31.h |    230 +
 .../gpu/drm/amd/display/dmub/src/dmub_srv.c   |     37 +
 .../gpu/drm/amd/display/include/dal_asic_id.h |     13 +
 .../gpu/drm/amd/display/include/dal_types.h   |      3 +
 .../drm/amd/display/modules/hdcp/hdcp_log.c   |      4 +
 .../drm/amd/display/modules/hdcp/hdcp_psp.c   |    135 +-
 .../drm/amd/display/modules/hdcp/hdcp_psp.h   |     38 +
 .../drm/amd/display/modules/inc/mod_hdcp.h    |     23 +-
 .../include/asic_reg/dcn/dcn_3_1_2_offset.h   |  15083 +++
 .../include/asic_reg/dcn/dcn_3_1_2_sh_mask.h  |  60747 +++++++++
 .../include/asic_reg/dpcs/dpcs_4_2_0_offset.h |  11936 ++
 .../asic_reg/dpcs/dpcs_4_2_0_sh_mask.h        | 103385 +++++++++++++++
 .../include/asic_reg/mp/mp_13_0_1_offset.h    |    355 +
 .../include/asic_reg/mp/mp_13_0_1_sh_mask.h   |    531 +
 drivers/gpu/drm/amd/include/atomfirmware.h    |     56 +-
 .../gpu/drm/amd/include/yellow_carp_offset.h  |   1366 +
 .../amd/pm/inc/smu13_driver_if_yellow_carp.h  |    222 +
 drivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h      |     57 +
 drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h |    139 +
 .../gpu/drm/amd/pm/inc/smu_v13_0_1_ppsmc.h    |     97 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     |      7 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/Makefile   |      2 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_1.c  |    311 +
 .../drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c  |   1210 +
 .../drm/amd/pm/swsmu/smu13/yellow_carp_ppt.h  |     28 +
 include/drm/amd_asic_type.h                   |      1 +
 include/uapi/drm/amdgpu_drm.h                 |      1 +
 136 files changed, 215465 insertions(+), 66 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/yellow_carp_reg_init.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/Makefile
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn31/display_rq_dlg_calc_31.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn31/display_rq_dlg_calc_31.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/irq/dcn31/irq_service_dcn31.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/irq/dcn31/irq_service_dcn31.h
 create mode 100644 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c
 create mode 100644 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_1_2_offset.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_1_2_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_4_2_0_offset.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_4_2_0_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_1_offset.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_1_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/yellow_carp_offset.h
 create mode 100644 drivers/gpu/drm/amd/pm/inc/smu13_driver_if_yellow_carp.h
 create mode 100644 drivers/gpu/drm/amd/pm/inc/smu_v13_0_1.h
 create mode 100644 drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_pmfw.h
 create mode 100644 drivers/gpu/drm/amd/pm/inc/smu_v13_0_1_ppsmc.h
 create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_1.c
 create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
 create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.h
Signature · 6 lines
2.31.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx