Hi Dave, Daniel, Stuff for 5.19. A bit late for new stuff, but it's just additional enablement for new IPs so they shouldn't affect existing parts. The rest is just the usual fixes. The following changes since commit 81c5495910e81c2cadcb9118ca0c8803ab3bde61: drm/amdgpu: Remove duplicated argument in vcn_v4_0 (2022-05-10 17:53:13 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.19-2022-05-18 for you to fetch changes up to 0223e516470aa0589da6c03e6d177c10594cabbd: drm/amd: Don't reset dGPUs if the system is going to s2idle (2022-05-18 15:20:18 -0400) ---------------------------------------------------------------- amd-drm-next-5.19-2022-05-18: amdgpu: - Misc code cleanups - Additional SMU 13.x enablement - Smartshift fixes - GFX11 fixes - Support for SMU 13.0.4 - SMU mutex fix - Suspend/resume fix amdkfd: - static checker fix - Doorbell/MMIO resource handling fix ---------------------------------------------------------------- Alex Deucher (1): drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2) Graham Sider (1): drm/amdkfd: Fix static checker warning on MES queue type Hans de Goede (1): drm/amdgpu: Move mutex_init(&smu->message_lock) to smu_early_init() Haohui Mai (1): drm/amdgpu: Ensure the DMA engine is deactivated during set ups Huang Rui (1): drm/amdgpu/pm: add smu v13.0.4 driver SMU if headers Jack Xiao (2): drm/amdgpu/gfx11: fix me field handling in map_queue packet drm/amdgpu/gfx11: fix mes mqd settings Jiapeng Chong (2): drm/amdgpu: clean up some inconsistent indenting drm/amd/display: clean up some inconsistent indenting Lang Yu (1): drm/amdkfd: allocate MMIO/DOORBELL BOs with AMDGPU_GEM_CREATE_PREEMPTIBLE Luben Tuikov (1): drm/amdgpu: Unmap legacy queue when MES is enabled Mario Limonciello (1): drm/amd: Don't reset dGPUs if the system is going to s2idle Sathishkumar S (4): drm/amd/pm: support ss metrics read for smu11 drm/amd/pm: update smartshift powerboost calc for smu12 drm/amd/pm: update smartshift powerboost calc for smu13 drm/amd/pm: consistent approach for smartshift Tim Huang (5): drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4 drm/amdgpu/pm: add some common ppt functions for SMU IP v13.0.x drm/amdgpu/pm: add swsmu ppt implementation for SMU IP v13.0.4 drm/amdgpu/pm: enable swsmu for SMU IP v13.0.4 drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.4 Xiaojian Du (1): drm/amdgpu/discovery: add SMU v13.0.4 into the IP discovery list Yang Wang (4): drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7 drm/amd/pm: add smu feature map support for smu_v13_0_7 drm/amd/pm: add smu feature map support for smu_v13_0_0 drm/amd/pm: add smu power_limit callback for smu_v13_0_7 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 14 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 32 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 9 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 20 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_7.c | 17 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 109 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 7 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 7 +- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 130 ++- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 8 +- .../inc/pmfw_if/smu11_driver_if_sienna_cichlid.h | 63 ++ .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_4.h | 267 +++++ .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_pmfw.h | 137 +++ .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h | 138 +++ drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 26 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 9 +- .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 161 ++- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 60 +- drivers/gpu/drm/amd/pm/swsmu/smu13/Makefile | 3 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 107 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 69 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c | 1044 ++++++++++++++++++++ .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.h | 28 + .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 99 +- .../gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 62 +- 30 files changed, 2364 insertions(+), 274 deletions(-) create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_4.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_pmfw.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.h