mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
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>
This commit is contained in:
parent
58a3ed59de
commit
48637d8c42
|
|
@ -849,7 +849,7 @@ static int smu_v13_0_0_get_current_clk_freq_by_table(struct smu_context *smu,
|
|||
member_type = METRICS_AVERAGE_GFXCLK;
|
||||
break;
|
||||
case PPCLK_UCLK:
|
||||
member_type = METRICS_AVERAGE_UCLK;
|
||||
member_type = METRICS_CURR_UCLK;
|
||||
break;
|
||||
case PPCLK_FCLK:
|
||||
member_type = METRICS_AVERAGE_FCLK;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user