diff options
| author | Darren Powell <[email protected]> | 2023-03-29 20:22:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-30 19:51:17 +0000 |
| commit | f72dcf8b29c49b18444d7ca7b3341d1ef0cb3402 (patch) | |
| tree | 52c38e5121653c78cc416103b8faca57a73983cb /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
| parent | drm/amdkfd: Add missing gfx11 MQD manager callbacks (diff) | |
| download | kernel-f72dcf8b29c49b18444d7ca7b3341d1ef0cb3402.tar.gz kernel-f72dcf8b29c49b18444d7ca7b3341d1ef0cb3402.zip | |
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 <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions
