aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2023-04-20 19:48:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-08-30 15:51:17 -0400
commitee78ef046cde9886c935ee4557039c398e372e8c (patch)
tree411a9df63df8cf1957d0b469f01dd58e20cf4851 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
parentf72dcf8b29c49b18444d7ca7b3341d1ef0cb3402 (diff)
amdgpu/pm: Optimize emit_clock_levels for arcturus - 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions