mirror-linux/drivers/gpu/drm/amd/pm
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
..
inc drm/amd/pm: place the smu 13.0.0 pptable header into the correct folder 2025-09-23 10:22:16 -04:00
legacy-dpm drm/amd/pm: Remove unneeded legacy DPM related code. 2025-09-15 16:52:50 -04:00
powerplay drm/amd/pm: Use pm_display_cfg in legacy DPM (v2) 2025-09-15 16:52:46 -04:00
swsmu drm/amd/pm: Add VCN reset message support for SMU v13.0.12 2025-09-23 10:41:41 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00
amdgpu_dpm.c drm/amd/pm: Add VCN reset support check capability 2025-08-15 13:04:25 -04:00
amdgpu_dpm_internal.c drm/amd/pm: Remove unneeded legacy DPM related code. 2025-09-15 16:52:50 -04:00
amdgpu_pm.c drm/amd/pm: Add sysfs node for node power 2025-09-18 09:43:02 -04:00