diff options
| author | Ruili Ji <[email protected]> | 2025-03-24 05:08:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-07 22:01:08 +0000 |
| commit | 9f7ce6a9ab95ed0c3a9aacdde219bb02d127cdfc (patch) | |
| tree | 0163521712137ae7a8b2916946bd2c05cc868fba /drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | |
| parent | drm/amd/display: Promote DC to 3.2.328 (diff) | |
| download | kernel-9f7ce6a9ab95ed0c3a9aacdde219bb02d127cdfc.tar.gz kernel-9f7ce6a9ab95ed0c3a9aacdde219bb02d127cdfc.zip | |
drm/amd/pm: implement dpm vcn reset function
Implement VCN engine reset by sending MSG_ResetVCN
on smu 13.0.6.
v2: fix format for code and message
Reviewed-by: Sonny Jiang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Signed-off-by: Ruili Ji <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h index 747019ed2bf5..4445d54f3322 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h @@ -607,5 +607,6 @@ ssize_t amdgpu_dpm_get_pm_policy_info(struct amdgpu_device *adev, enum pp_pm_policy p_type, char *buf); int amdgpu_dpm_reset_sdma(struct amdgpu_device *adev, uint32_t inst_mask); bool amdgpu_dpm_reset_sdma_is_supported(struct amdgpu_device *adev); +int amdgpu_dpm_reset_vcn(struct amdgpu_device *adev, uint32_t inst_mask); #endif |
