Hi Dave, Daniel, Fixes for 5.20. Mainly for new IPs. The following changes since commit 2bc7ea71a73747a77e7f83bc085b0d2393235410: Merge tag 'topic/nouveau-misc-2022-07-27' of git://anongit.freedesktop.org/drm/drm into drm-next (2022-07-27 11:34:07 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.20-2022-07-29 for you to fetch changes up to 64f991590ff4410041a70ee7ec2db079bc953929: drm/amd/display: Fix a compilation failure on PowerPC caused by FPU code (2022-07-29 15:24:38 -0400) ---------------------------------------------------------------- amd-drm-next-5.20-2022-07-29: amdgpu: - Misc spelling and grammar fixes - DC whitespace cleanups - ACP smatch fix - GFX 11.0 updates - PSP 13.0 updates - VCN 4.0 updates - DC FP fix for PPC64 - Misc bug fixes amdkfd: - SVM fixes ---------------------------------------------------------------- Alex Sierra (2): drm/amdkfd: track unified memory reservation with xnack off drm/amdgpu: add debugfs for kfd system and ttm mem used Chengming Gui (2): drm/amd/amdgpu: add additional page fault settings for gfx11 drm/amd/amdgpu: add memory training support for PSP_V13 Dan Carpenter (1): drm/amd/display: fix signedness bug in execute_synaptics_rc_command() Evan Quan (3): drm/amdgpu: drop non-necessary call trace dump drm/amd/pm: update driver if header for SMU 13.0.0 drm/amd/pm: enable GFX ULV feature support for SMU13.0.0 Guchun Chen (1): drm/amdgpu: use adev_to_drm for consistency Jack Xiao (1): drm/amdgpu: move mes self test after drm sched re-started Jiapeng Chong (20): drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting drm/amd/display: Clean up some inconsistent indenting Jonathan Kim (1): drm/amdgpu: fix hive reference leak when reflecting psp topology info Lang Yu (2): drm/amdkfd: fix kgd_mem memory leak when importing dmabuf drm/amdkfd: remove an unnecessary amdgpu_bo_ref Maíra Canal (1): drm/amd/display: Remove unused struct freesync_context Philip Yang (3): drm/amdgpu: Allow TTM to evict svm bo from same process drm/amdkfd: Set svm range max pages drm/amdkfd: Split giant svm range Rodrigo Siqueira (1): drm/amd/display: Fix a compilation failure on PowerPC caused by FPU code Roy Sun (1): drm/amdgpu: Fix the incomplete product number Shikai Guo (1): drm/amd/pm: Add get_gfx_off_status interface for yellow carp Sonny Jiang (5): drm/amdgpu: fix a vcn4 boot poll bug in emulation mode drm/amdgpu: add VCN function in NBIO v7.7 drm/amdgpu: add VCN_4_0_2 firmware support drm/amdgpu: vcn_4_0_2 video codec query drm/amdgpu: enable VCN cg and JPEG cg/pg Vijendar Mukunda (1): drm/amdgpu: fix i2s_pdata out of bound array access Xiaojian Du (4): drm/amdgpu: send msg to IMU for the front-door loading drm/amdgpu: add header files for MP 13.0.4 drm/amdgpu: add files for PSP 13.0.4 drm/amdgpu: enable support for psp 13.0.4 block Yang Li (1): drm/amd/display: remove unneeded semicolon Yifan Zhang (1): drm/amdgpu: correct RLC_RLCS_BOOTLOAD_STATUS offset and index Yu Zhe (1): drm/amdkfd: use time_is_before_jiffies(a + b) to replace "jiffies - a > b" wangjianli (1): drm/amdgpu/dc/dce: fix repeated words in comments drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 8 - drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 7 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 51 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 15 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 8 + drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c | 32 +- drivers/gpu/drm/amd/amdgpu/mes_v10_1.c | 3 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_7.c | 21 + drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 159 ++++++ drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c | 387 ++++++++++++++ drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.h | 30 ++ drivers/gpu/drm/amd/amdgpu/soc21.c | 8 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 3 +- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 4 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 122 +++-- drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 3 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 72 +-- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 +- .../amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 3 +- .../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 3 +- .../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 3 +- .../amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c | 3 +- drivers/gpu/drm/amd/display/dc/dc_stream.h | 8 - drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c | 68 +-- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c | 4 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 16 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c | 36 +- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c | 77 ++- .../gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c | 25 +- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c | 70 +-- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 15 +- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h | 3 - drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 8 +- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c | 36 +- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c | 1 - .../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 2 +- .../gpu/drm/amd/display/dc/dml/dcn30/dcn30_fpu.c | 18 +- .../gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c | 15 +- .../dc/dml/dcn32/display_mode_vba_util_32.c | 8 +- .../display/dc/dml/dcn32/display_rq_dlg_calc_32.c | 81 ++- .../drm/amd/display/dc/inc/hw/timing_generator.h | 2 - .../drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h | 3 + .../amd/include/asic_reg/gc/gc_11_0_0_sh_mask.h | 25 + .../drm/amd/include/asic_reg/mp/mp_13_0_4_offset.h | 402 ++++++++++++++ .../amd/include/asic_reg/mp/mp_13_0_4_sh_mask.h | 595 +++++++++++++++++++++ drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 9 + .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 2 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 2 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 3 + .../gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 31 ++ 62 files changed, 2181 insertions(+), 377 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_4_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_13_0_4_sh_mask.h