OSDN Git Service

drm/amd/pm: fix pp_dpm_sclk node not displaying correctly
authorYang Wang <kevinyang.wang@amd.com>
Wed, 26 Jul 2023 08:42:36 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:12:48 +0000 (17:12 -0400)
commit54f9e1ca7c658cf9973d4451c035b4acfd6190bb
treef0ff7572afd150d8103be18a81e00ef7a98aa92f
parent510d242f498a00f4701b77c6f42df880abacb3bd
drm/amd/pm: fix pp_dpm_sclk node not displaying correctly

if GFX clock is in DS (Deep Sleep) state, the current gfx freq may less then dpm
level 0, then pp_dpm_sclk node unable show correct freq.

(align output format with other cards)

Signed-off-by: Yang Wang <kevinyang.wang@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/smu_v13_0_6_ppt.c