Hi Dave, Daniel, More stuff for 5.19. The following changes since commit e15c9d06e9ad70df41285ca41d535de6215e0b21: drm/amd/amdgpu: Update PF2VF header (2022-04-21 16:00:14 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.19-2022-04-29 for you to fetch changes up to 3da2c38231a4c62dafdbd762a199cfacaccd0533: drm/amdgpu: Free user pages if amdgpu_cs_parser_bos failed (2022-04-28 17:49:04 -0400) ---------------------------------------------------------------- amd-drm-next-5.19-2022-04-29: amdgpu - RAS updates - SI dpm deadlock fix - Misc code cleanups - HDCP fixes - PSR fixes - DSC fixes - SDMA doorbell cleanups - S0ix fix - DC FP fix - Zen dom0 regression fix for APUs - IP discovery updates - Initial SoC21 support - Support for new vbios tables - Runtime PM fixes - Add PSP TA debugfs interface amdkfd: - Misc code cleanups - Ignore bogus MEC signals more efficiently - SVM fixes - Use bitmap helpers radeon: - Misc code cleanups - Spelling/grammer fixes ---------------------------------------------------------------- Alex Deucher (11): drm/amdgpu/display: Make dcn31_set_low_power_state static drm/amdgpu: update latest IP discovery table structures drm/amdgpu/discovery: populate additional GC info drm/amdgpu/discovery: fix byteswapping in gc info parsing drm/amdgpu: store the mall size in the gmc structure drm/amdgpu/discovery: store the number of UMC IPs on the asic drm/amdgpu/discovery: handle UMC harvesting in IP discovery drm/amdgpu/discovery: add a function to get the mall_size drm/amdgpu/discovery: add additional validation drm/amdgpu/discovery: add a function to parse the vcn info table drm/amdgpu/discovery: move all table parsing into amdgpu_discovery.c Aric Cyr (2): drm/amd/display: 3.2.182 drm/amd/display: 3.2.183 Candice Li (1): drm/amdgpu: Fix build warning for TA debugfs interface Christophe JAILLET (2): drm/amdkfd: Use bitmap_zalloc() when applicable drm/amdkfd: Use non-atomic bitmap functions when possible Dan Carpenter (2): drm/amdgpu: debugfs: fix error codes in write functions drm/amdgpu: debugfs: fix NULL dereference in ta_if_invoke_debugfs_write() David Yu (1): drm/amdgpu: Ta fw needs to be loaded for SRIOV aldebaran David Zhang (2): drm/amd/display: read PSR-SU cap DPCD for specific panel drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations Dillon Varone (1): drm/amd/display: Remove unused integer Dmytro Laktyushkin (1): drm/amd/display: update dcn315 clk table read Evan Quan (2): drm/amd/pm: fix the deadlock issue observed on SI drm/amd/pm: fix the compile warning Evgenii Krasnikov (1): drm/amd/display: Reset cached PSR parameters after hibernate Felix Kuehling (1): drm/amdkfd: Ignore bogus signals from MEC efficiently Gary Li (1): drm/amd/display: Maintain current link settings in link loss interrupt Guchun Chen (1): drm/amdgpu: disable runtime pm on several sienna cichlid cards(v2) Guo Zhengkui (1): drm/amd/display: fix if == else warning Haohui Mai (3): drm/amdgpu/sdma: Fix incorrect calculations of the wptr of the doorbells drm/amdgpu/sdma: Remove redundant lower_32_bits() calls when settings SDMA doorbell drm/amdgpu: Fix out-of-bound access for gfx_v10_0_ring_test_ib() Haowen Bai (1): drm/amdgpu: Remove useless kfree Hawking Zhang (10): drm/amdgpu: add helper to execute atomfirmware asic_init drm/amdgpu: switch to atomfirmware_asic_init drm/amdgpu: add vram_info v3_0 structure drm/amdgpu: support query vram_info v3_0 drm/amdgpu: add atom_gfx_info_v3_0 structure drm/amdgpu: update gc info from bios table drm/amdgpu: update query ref clk from bios drm/amdgpu: add mp v13_0_0 ip headers v7 drm/amdgpu: add gc v11_0_0 ip headers v11 drm/amdgpu: add nbio callback to query rom offset Ilya Bakoulin (2): drm/amd/display: Add Audio readback registers drm/amd/display: Keep track of DSC packed PPS Leo Ma (1): drm/amd/display: Remove ddc write and read size checking Likun Gao (2): drm/amdgpu: increase HWIP MAX INSTANCE drm/amdgpu: add function to decode ip version Marek Marczykowski-Górecki (1): drm/amdgpu: do not use passthrough mode in Xen dom0 Melissa Wen (1): drm/amd/display: protect remaining FPU-code calls on dcn3.1.x Michael Strauss (1): drm/amd/display: Don't pass HostVM by default on DCN3.1 Mukul Joshi (2): drm/amdkfd: Fix updating IO links during device removal drm/amdkfd: Fix circular lock dependency warning Mustapha Ghaddar (1): drm/amd/display: Fix HDCP QUERY Error for eDP and Tiled Oliver Logush (1): drm/amd/display: Insert smu busy status before sending another request Philip Yang (3): drm/amdkfd: Add SVM range mapped_to_gpu flag drm/amdkfd: Update mapping if range attributes changed drm/amdgpu: Free user pages if amdgpu_cs_parser_bos failed Prike Liang (1): drm/amdgpu: keep mmhub clock gating being enabled during s2idle suspend Randy Dunlap (1): drm/amd/display: fix non-kernel-doc comment warnings Rongguang Wei (1): drm/amdgpu: fix typo Stanley.Yang (2): drm/amdgpu: add new write field for soc21 drm/amdgpu: add soc21 common ip block v2 Tao Zhou (3): drm/amdgpu: add RAS poison creation handler (v2) drm/amdgpu: add RAS poison consumption handler (v2) drm/amdgpu: add RAS fatal error interrupt handler Tom Rix (2): drm/radeon: change cik_default_state table from global to static drm/radeon: change cac_weights_* to static Yang Wang (1): drm/amdkfd: use kvcalloc() instead of kvmalloc() in kfd_migrate Zhenneng Li (1): gpu/drm/radeon: Fix typo in comments oushixiong (1): drm/amd: Fix spelling typo in comment drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 371 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 291 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h | 4 - drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 11 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 15 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 14 + drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 62 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 125 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 33 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 28 + drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 4 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 8 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 8 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 8 +- drivers/gpu/drm/amd/amdgpu/si_dma.c | 5 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 13 - drivers/gpu/drm/amd/amdgpu/soc15_common.h | 8 + drivers/gpu/drm/amd/amdgpu/soc21.c | 620 + drivers/gpu/drm/amd/amdgpu/soc21.h | 30 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 7 +- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 30 +- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 22 +- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 33 + drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 15 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 3 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 66 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 1 + drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 17 +- .../drm/amd/display/dc/clk_mgr/dcn301/dcn301_smu.c | 2 + .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 2 +- .../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 114 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 15 +- drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c | 6 - drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 15 + drivers/gpu/drm/amd/display/dc/dc.h | 10 +- drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 +- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 2 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.c | 1 + .../amd/display/dc/dcn10/dcn10_stream_encoder.h | 8 + .../gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c | 2 - .../display/dc/dcn30/dcn30_dio_stream_encoder.h | 4 + .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 34 +- .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.h | 9 + .../drm/amd/display/dc/dcn315/dcn315_resource.c | 4 +- .../drm/amd/display/dc/dcn316/dcn316_resource.c | 4 +- .../gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 145 +- drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 1 + .../drm/amd/display/include/ddc_service_types.h | 2 + drivers/gpu/drm/amd/include/amd_shared.h | 2 + .../amd/include/asic_reg/gc/gc_11_0_0_default.h | 6114 +++ .../drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h | 11670 ++++++ .../amd/include/asic_reg/gc/gc_11_0_0_sh_mask.h | 41635 +++++++++++++++++++ .../drm/amd/include/asic_reg/mp/mp_13_0_0_offset.h | 461 + .../amd/include/asic_reg/mp/mp_13_0_0_sh_mask.h | 682 + drivers/gpu/drm/amd/include/atombios.h | 2 +- drivers/gpu/drm/amd/include/atomfirmware.h | 80 +- drivers/gpu/drm/amd/include/discovery.h | 114 +- drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 39 + drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 14 +- drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c | 10 - drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 35 - drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c | 10 - drivers/gpu/drm/radeon/Makefile | 2 +- drivers/gpu/drm/radeon/atombios.h | 6 +- drivers/gpu/drm/radeon/cik_blit_shaders.c | 246 - drivers/gpu/drm/radeon/cik_blit_shaders.h | 219 +- drivers/gpu/drm/radeon/si_dpm.c | 4 +- 86 files changed, 62821 insertions(+), 851 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/soc21.c create mode 100644 drivers/gpu/drm/amd/amdgpu/soc21.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gc/gc_11_0_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gc/gc_11_0_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_0_sh_mask.h delete mode 100644 drivers/gpu/drm/radeon/cik_blit_shaders.c