1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd
Darren Powell 2ecf214b45 amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 1
Use variables to remove the multiple nested ternary expressions
 and improve readability. This will help to optimize the code
 duplication in the switch statement
 Also Changed:
  Modify function aldebaran_get_clk_table to void function as it
    always returns 0
  Use const string "attempt_string" to cut down on repetition

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:33:54 -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 1 2023-09-06 14:33:54 -04:00