diff options
author | Mario Limonciello (AMD) <superm1@kernel.org> | 2025-09-12 12:59:33 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-15 17:12:50 -0400 |
commit | 7840a699c513dfd20661b5d1d055011b3ab17e30 (patch) | |
tree | 4e7b8620afcabe8dc9e7ceb933c30fd1082e730f /rust/helpers/workqueue.c | |
parent | 27405096232bc8e5042c6836920f793d31845694 (diff) |
drm/amd: Drop unnecessary calls to smu_dpm_set_vpe_enable()
smu_hw_init() and smu_hw_fini() call smu_dpm_set_vpe_enable() for
APUs as part of startup and teardown. These calls however are
not necessary because vpe_hw_init()/vpe_hw_fini() will call at
init/fini:
```
vpe_hw_init() / vpe_hw_fini()
amdgpu_device_ip_set_powergating_state()
vpe_set_powergating_state()
amdgpu_dpm_enable_vpe()
amdgpu_dpm_set_powergating_by_smu()
smu_dpm_set_power_gate()
smu_dpm_set_vpe_enable()
```
Drop the extra calls.
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions