drm/amd/pm: correct the way for retrieving current uclk frequency
authorEvan Quan <evan.quan@amd.com>
Wed, 27 Apr 2022 15:22:00 +0000 (23:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:10 +0000 (17:53 -0400)
commit48637d8c423d93a2743e9f2de987afc634818783
tree2c471530155c03fb51605603c0f22654666bd7e2
parent58a3ed59de9e7b5696385731826139c75916c303
drm/amd/pm: correct the way for retrieving current uclk frequency

There is some problem with average frequency reading for now. So,
we switch to the target frequency reading.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c