aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2023-08-24 11:55:51 +0000
committerAlex Deucher <[email protected]>2023-09-20 16:23:47 +0000
commitcad2fb19bbfa6110e8ed71c07a33fb54d2104a0f (patch)
tree71d351297911147ef6ce5c44056990dd72b32b5f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: Use function for IP version check (diff)
downloadkernel-cad2fb19bbfa6110e8ed71c07a33fb54d2104a0f.tar.gz
kernel-cad2fb19bbfa6110e8ed71c07a33fb54d2104a0f.zip
drm/amd/pm: Fix clock reporting for SMUv13.0.6
On SMU v13.0.6, effective clocks are reported by FW which won't exactly match with DPM level. Report the current clock based on the values matching closest to the effective clock. Also, when deep sleep is applied to a clock, report it with a special level "S:" as in sample clock levels below S: 19Mhz * 0: 615Mhz 1: 800Mhz 2: 888Mhz 3: 1000Mhz Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions