1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu
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
..
drm amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 1 2023-09-06 14:33:54 -04:00
host1x gpu: host1x: Return error when context device not attached to IOMMU 2023-07-27 18:41:59 +02:00
ipu-v3 gpu: ipu-v3: prg: Convert to devm_platform_ioremap_resource() 2023-07-28 17:26:55 +02:00
trace
vga
Makefile