amdgpu, amdkfd, radeon drm-next-6.3
Hi Dave, Daniel,
More new stuff for 6.3.
The following changes since commit f6e856e72ce51df1e0fe67aecb5f256fbd4190a6:
drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08 (2023-01-05 11:43:46 -0500)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.3-2023-01-13
for you to fetch changes up to 0c2dece8fb541ab07b68c3312a1065fa9c927a81:
drm/amdkfd: Page aligned memory reserve size (2023-01-11 16:41:03 -0500)
----------------------------------------------------------------
amd-drm-next-6.3-2023-01-13:
amdgpu:
- Fix possible segfault in failure case
- Rework FW requests to happen in early_init for all IPs so that we don't lose the sbios console if FW is missing
- PSR fixes
- Misc cleanups
- Unload fix
- SMU13 fixes
amdkfd:
- Fix for cleared VRAM BOs
- Fix cleanup if GPUVM creation fails
- Memory accounting fix
- Use resource_size rather than open codeing it
- GC11 mGPU fix
radeon:
- Fix memory leak on shutdown
----------------------------------------------------------------
Deepak R Varma (2):
drm/amdkfd: Use resource_size() helper function drm/amd/display: No need for Null pointer check before kfree
Eric Huang (2):
drm/amdkfd: Add sync after creating vram bo drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU
Guchun Chen (1):
drm/amd/pm/smu13: BACO is supported when it's in BACO state
Hamza Mahfooz (1):
drm/amd/display: fix PSR-SU/DSC interoperability support
Liwei Song (1):
drm/radeon: free iio for atombios when driver shutdown
Luben Tuikov (1):
drm/amdgpu: Fix potential NULL dereference
Mario Limonciello (45):
drm/amd: Delay removal of the firmware framebuffer
drm/amd: Add a legacy mapping to "amdgpu_ucode_ip_version_decode" drm/amd: Convert SMUv11 microcode to use amdgpu_ucode_ip_version_decode drm/amd: Convert SMUv13 microcode to use amdgpu_ucode_ip_version_decode drm/amd: Add a new helper for loading/validating microcode drm/amd: Use amdgpu_ucode_request helper for SDMA
drm/amd: Convert SDMA to use amdgpu_ucode_ip_version_decode drm/amd: Make SDMA firmware load failures less noisy. drm/amd: Use amdgpu_ucode_* helpers for VCN
drm/amd: Load VCN microcode during early_init
drm/amd: Load MES microcode during early_init
drm/amd: Use amdgpu_ucode_* helpers for MES
drm/amd: Remove superfluous assignment for adev->mes.adev drm/amd: Use amdgpu_ucode_* helpers for GFX9
drm/amd: Load GFX9 microcode during early_init
drm/amd: Use amdgpu_ucode_* helpers for GFX10
drm/amd: Load GFX10 microcode during early_init
drm/amd: Use amdgpu_ucode_* helpers for GFX11
drm/amd: Load GFX11 microcode during early_init
drm/amd: Parse both v1 and v2 TA microcode headers using same function drm/amd: Avoid BUG() for case of SRIOV missing IP version drm/amd: Load PSP microcode during early_init
drm/amd: Use amdgpu_ucode_* helpers for PSP drm/amd/display: Load DMUB microcode during early_init drm/amd: Use amdgpu_ucode_release helper for DMUB
drm/amd: Use amdgpu_ucode_* helpers for SMU
drm/amd: Load SMU microcode during early_init
drm/amd: Optimize SRIOV switch/case for PSP microcode load drm/amd: Use amdgpu_ucode_* helpers for GFX6
drm/amd: Use amdgpu_ucode_* helpers for GFX7
drm/amd: Use amdgpu_ucode_* helpers for GFX8
drm/amd: Use amdgpu_ucode_* helpers for GMC6
drm/amd: Use amdgpu_ucode_* helpers for GMC7
drm/amd: Use amdgpu_ucode_* helpers for GMC8
drm/amd: Use amdgpu_ucode_* helpers for SDMA2.4
drm/amd: Use amdgpu_ucode_* helpers for SDMA3.0
drm/amd: Use amdgpu_ucode_* helpers for SDMA on CIK drm/amd: Use amdgpu_ucode_* helpers for UVD
drm/amd: Use amdgpu_ucode_* helpers for VCE
drm/amd: Use amdgpu_ucode_* helpers for CGS
drm/amd: Use amdgpu_ucode_* helpers for GPU info bin drm/amd: Use amdgpu_ucode_* helpers for DMCU
drm/amd: Use amdgpu_ucode_release helper for powerplay drm/amd: Use amdgpu_ucode_release helper for si
drm/amd: make amdgpu_ucode_validate static
Philip Yang (2):
drm/amdkfd: Cleanup vm process info if init vm failed drm/amdkfd: Page aligned memory reserve size
Yang Li (2):
drm/amd/display: Remove unneeded semicolon drm/amdgpu: clean up some inconsistent indentings
Yi Yang (1):
drm/amd/display: Remove redundant assignment to variable dc
YiPeng Chai (1):
drm/amdgpu: Fixed bug on error when unloading amdgpu
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 32 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 22 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 59 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 299 ++++++++++----------- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 259 +++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 65 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 16 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 155 +++-------- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 124 +++------ drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 30 +-- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 68 ++--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 94 +++---- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 140 +++------- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/imu_v11_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/mes_v10_1.c | 108 ++------ drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 99 ++----- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 80 +----- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 131 +-------- drivers/gpu/drm/amd/amdgpu/psp_v12_0.c | 78 +----- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 27 +- drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c | 14 +- drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 16 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 18 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 18 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 47 +--- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 30 +-- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 55 +--- drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 25 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 9 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 3 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 12 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 9 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 116 ++++---- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 3 + .../amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 3 +- .../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 3 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 2 +- .../drm/amd/display/modules/power/power_helpers.c | 31 +++ .../drm/amd/display/modules/power/power_helpers.h | 3 + drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 11 +- drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c | 3 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 12 +- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 51 +--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 32 +-- drivers/gpu/drm/radeon/radeon_device.c | 1 + 67 files changed, 997 insertions(+), 1591 deletions(-)