mirror-linux/drivers/gpu/drm/amd/pm/swsmu/inc
Jesse.Zhang 4c709ccc47 drm/amd/pm: Add VCN reset message support for SMU v13.0.12
This commit adds support for VCN reset functionality in SMU v13.0.12 by:

1. Adding two new PPSMC messages in smu_v13_0_12_ppsmc.h:
   - PPSMC_MSG_ResetVCN (0x5E)
   - Updates PPSMC_Message_Count to 0x5F to account for new messages

2. Adding message mapping for ResetVCN in smu_v13_0_12_ppt.c:
   - Maps SMU_MSG_ResetVCN to PPSMC_MSG_ResetVCN

These changes enable proper VCN reset handling through the SMU firmware
interface for compatible AMD GPUs.

v2: Added fw version check to support vcn queue reset.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-09-23 10:41:41 -04:00
..
pmfw_if drm/amd/pm: Add VCN reset message support for SMU v13.0.12 2025-09-23 10:41:41 -04:00
amdgpu_smu.h drm/amd/pm: unified smu feature cap for vcn reset 2025-09-15 17:02:23 -04:00
smu_11_0_cdr_table.h drm/amd/pm: that open brace { should be on the previous line 2023-07-27 14:47:45 -04:00
smu_types.h drm/amd/pm: Fetch and fill temperature metrics 2025-08-06 14:20:51 -04:00
smu_v11_0.h drm/amd/pm/smu11: Remove unused smu_v11_0_get_dpm_level_range 2025-05-07 17:46:21 -04:00
smu_v11_0_7_pptable.h
smu_v11_0_pptable.h drm/amd/pm: Clean up errors in smu_v11_0_pptable.h 2023-08-15 18:08:29 -04:00
smu_v12_0.h drm/amdgpu/swsmu: add automatic parameter to set_soft_freq_range 2024-10-15 11:27:08 -04:00
smu_v13_0.h drm/amd/pm: Move SMUv13.0.12 function declarations 2025-05-16 13:37:44 -04:00
smu_v13_0_0_pptable.h drm/amd/pm: place the smu 13.0.0 pptable header into the correct folder 2025-09-23 10:22:16 -04:00
smu_v13_0_7_pptable.h drm/amd/pm: open brace '{' following struct go on the same line 2023-07-27 14:47:49 -04:00
smu_v13_0_pptable.h
smu_v14_0.h drm/amdgpu/pm: add gen5 display to the user on smu v14.0.2/3 2024-11-20 10:03:05 -05:00
smu_v14_0_2_pptable.h drm/amd/pm: update powerplay structure on smu v14.0.2/3 2024-08-06 10:41:40 -04:00