mirror_ubuntu-kernels/drivers/gpu/drm/amd
Darren Powell f72dcf8b29 amdgpu/pm: Optimize emit_clock_levels for arcturus - 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 arcturus_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-08-30 15:51:17 -04:00
..
acp
amdgpu drm/amdgpu: Free ras cmd input buffer properly 2023-08-30 15:51:16 -04:00
amdkfd drm/amdkfd: Add missing gfx11 MQD manager callbacks 2023-08-30 15:51:16 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Adjust kdoc for 'optc35_set_odm_combine' 2023-08-30 15:51:16 -04:00
include drm/amd/display: Add dcn35 register header files 2023-08-30 15:51:13 -04:00
pm amdgpu/pm: Optimize emit_clock_levels for arcturus - part 1 2023-08-30 15:51:17 -04:00