diff options
| author | Boyuan Zhang <boyuan.zhang@amd.com> | 2024-10-02 23:52:01 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-10 10:26:47 -0500 |
| commit | ff69bba05f085cd6d4277c27ac7600160167b384 (patch) | |
| tree | 35a24266f5afcaebb55d9665540ff6d9908bb64e /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amd/pm: add inst to set_powergating_by_smu (diff) | |
| download | linux-ff69bba05f085cd6d4277c27ac7600160167b384.tar.gz linux-ff69bba05f085cd6d4277c27ac7600160167b384.zip | |
drm/amd/pm: add inst to dpm_set_powergating_by_smu
Add an instance parameter to amdgpu_dpm_set_powergating_by_smu() function,
and use the instance to call set_powergating_by_smu().
v2: remove duplicated functions.
remove for-loop in amdgpu_dpm_set_powergating_by_smu(), and temporarily
move it to amdgpu_dpm_enable_vcn(), in order to keep the exact same logic
as before, until further separation in next patch.
v3: drop SI logic in amdgpu_dpm_enable_vcn().
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_psp.c')
0 files changed, 0 insertions, 0 deletions
