diff options
author | 2024-09-29 15:17:29 -0400 | |
---|---|---|
committer | 2024-12-10 10:26:47 -0500 | |
commit | 8aaf166703751ffd9a9fbc4d8b996f538b278983 (patch) | |
tree | 5e6f5adeb8d2c55808cd84bcf2377d5e5b1cdf88 /drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | |
parent | drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config() (diff) | |
download | wireguard-linux-8aaf166703751ffd9a9fbc4d8b996f538b278983.tar.xz wireguard-linux-8aaf166703751ffd9a9fbc4d8b996f538b278983.zip |
drm/amd/pm: power up or down vcn by instance
For smu ip with multiple vcn instances (smu 11/13/14), remove all the
for loop in dpm_set_vcn_enable() functions. And use the instance
argument to power up/down vcn for the given instance only, instead
of powering up/down for all vcn instances.
v2: remove all duplicated functions in v1.
remove for-loop from each ip, and temporarily move to dpm_set_vcn_enable,
in order to keep the exact same logic as before, until further separation
in the next patch.
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c')
0 files changed, 0 insertions, 0 deletions