diff options
author | Boyuan Zhang <boyuan.zhang@amd.com> | 2024-09-29 22:17:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-10 18:26:47 +0300 |
commit | 8aaf166703751ffd9a9fbc4d8b996f538b278983 (patch) | |
tree | 5e6f5adeb8d2c55808cd84bcf2377d5e5b1cdf88 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | a3300782d5375e280ba7040f323d01960bfe3396 (diff) | |
download | linux-8aaf166703751ffd9a9fbc4d8b996f538b278983.tar.xz |
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/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions