amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 3
authorDarren Powell <darren.powell@amd.com>
Tue, 4 Apr 2023 04:14:27 +0000 (00:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Sep 2023 18:34:05 +0000 (14:34 -0400)
commit14bf1c475f7fa1d6627746e7940d65d5456ab2b7
treed54ab095c04558a81d95dd1a2f6651b14d461671
parentd62846f778f5dc4c521c4b1532ecf3f2d7fd78d9
amdgpu/pm: Optimize emit_clock_levels for aldebaran - part 3

   split switch statement into two and consolidate the common
   code for printing most of the types of clock speeds

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>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c