aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarren Powell <[email protected]>2023-04-03 14:06:47 -0400
committerAlex Deucher <[email protected]>2023-09-06 14:33:54 -0400
commit2ecf214b45a5969f6bf9c69b97d1bb9a721e0093 (patch)
tree7f0aa0003370b0257af563a2adee0e58b1867736 /tools/perf/scripts/python
parentbc22d9e0ee26c450f8dde69c0720f8da19e14db3 (diff)
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 <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions