diff options
author | Darren Powell <darren.powell@amd.com> | 2022-04-08 23:59:36 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-06 14:33:15 -0400 |
commit | bc22d9e0ee26c450f8dde69c0720f8da19e14db3 (patch) | |
tree | f9cfed5181aa73e51a42051a54de821faa3105e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 869df1432fd5a41d66132de1d76ff248fddca111 (diff) | |
download | linux-bc22d9e0ee26c450f8dde69c0720f8da19e14db3.tar.gz linux-bc22d9e0ee26c450f8dde69c0720f8da19e14db3.tar.bz2 linux-bc22d9e0ee26c450f8dde69c0720f8da19e14db3.zip |
amdgpu/pm: Replace print_clock_levels with emit_clock_levels for aldebaran
Replace print_clock_levels with emit_clock_levels for aldebaran
* replace .print_clk_levels with .emit_clk_levels in aldebaran_ppt_funcs
* added extra parameter int *offset
* removed var size, uses arg *offset instead
* removed call to smu_cmn_get_sysfs_buf
* errors are returned to caller
* returns 0 on success
additional incidental changes
* changed type of vars i, now to remove comparing mismatch types
* renamed var s/now/cur_value/
* switch statement default now returns -EINVAL
* RAS Recovery returns -EBUSY
Based on
commit b06b48d7ddae ("amdgpu/pm: Implement emit_clk_levels for navi10")
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions