mirror-linux/drivers/gpu/drm/amd/pm/swsmu/smu13
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
..
Makefile drm/amd/pm: Add SMUv13.0.12 PPT interface 2025-02-12 21:02:58 -05:00
aldebaran_ppt.c drm/amd/pm: Use devm_i2c_add_adapter() in the i2c init 2025-09-16 17:47:26 -04:00
aldebaran_ppt.h
smu_v13_0.c drm/amd/pm: override pcie dpm parameters only if it is necessary 2025-06-18 12:19:19 -04:00
smu_v13_0_0_ppt.c drm/amd/pm: Use devm_i2c_add_adapter() in the V13 smu 2025-09-16 17:47:38 -04:00
smu_v13_0_0_ppt.h
smu_v13_0_4_ppt.c drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms 2024-05-29 14:48:30 -04:00
smu_v13_0_4_ppt.h
smu_v13_0_5_ppt.c drm/amd/pm: add inst to dpm_set_vcn_enable 2024-11-04 11:39:49 -05:00
smu_v13_0_5_ppt.h
smu_v13_0_6_ppt.c drm/amd/pm: Add VCN reset message support for SMU v13.0.12 2025-09-23 10:41:41 -04:00
smu_v13_0_6_ppt.h drm/amd/pm: Fetch npm data from system metrics table 2025-09-18 09:43:02 -04:00
smu_v13_0_7_ppt.c drm/amd/pm: revise the pcie dpm parameters 2025-06-24 10:05:40 -04:00
smu_v13_0_7_ppt.h
smu_v13_0_12_ppt.c drm/amd/pm: Add VCN reset message support for SMU v13.0.12 2025-09-23 10:41:41 -04:00
yellow_carp_ppt.c drm/amd/pm: add inst to dpm_set_vcn_enable 2024-11-04 11:39:49 -05:00
yellow_carp_ppt.h