mirror_ubuntu-kernels/drivers/gpu/drm/amd
Darren Powell d62846f778 amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 2
Use variables to remove ternary expression in print statement
 and improve readability. This will help to optimize the code
 duplication in the switch statement
 Also Changed:
  replaced single_dpm_table->count as iterator in for loops
    with safer clocks_num_levels value
  replaced dpm_table.value usage with local var clocks_mhz

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>
2023-09-06 14:34:00 -04:00
..
acp
amdgpu drm/amdgpu: clean up some inconsistent indenting 2023-09-06 14:32:25 -04:00
amdkfd drm/amdkfd: Replace pr_err with dev_err 2023-08-30 15:51:17 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: clean up some inconsistent indentings 2023-09-06 14:33:13 -04:00
include drm/amd/pm: add fan minimum pwm OD setting support for SMU13 2023-08-31 17:14:21 -04:00
pm amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 2 2023-09-06 14:34:00 -04:00