diff options
| author | Boyuan Zhang <[email protected]> | 2024-10-03 03:25:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-12-10 15:26:47 +0000 |
| commit | 697cb5cc2549c5aa8da541ec5d815500edc35f88 (patch) | |
| tree | 197febc6ba4c52d7e83eb90a5547c1387442ec13 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
| parent | drm/amd/pm: add inst to smu_dpm_set_vcn_enable (diff) | |
| download | kernel-697cb5cc2549c5aa8da541ec5d815500edc35f88.tar.gz kernel-697cb5cc2549c5aa8da541ec5d815500edc35f88.zip | |
drm/amd/pm: add inst to set_powergating_by_smu
Add an instance parameter to set_powergating_by_smu() function, and
re-write all amd_pm functions accordingly. Then use the instance to
call smu_dpm_set_vcn_enable().
v2: remove duplicated functions.
remove for-loop in smu_dpm_set_power_gate(), and temporarily move it to
to amdgpu_dpm_set_powergating_by_smu(), in order to keep the exact same
logic as before, until further separation in next patch.
v3: add instance number in error message.
Signed-off-by: Boyuan Zhang <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions
