]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
authorYuxian Dai <Yuxian.Dai@amd.com>
Wed, 1 Apr 2020 11:26:26 +0000 (19:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2020 21:20:15 +0000 (17:20 -0400)
commit9cb729a80d05c23da56be5f64bab45b1d71dd2e4
treee124fd9a471a644002743faca2984079a1ebefee
parentc7fb005b76e0dbded80b7e3ab9b1050153cb47c9
drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK

1.Using the FCLK DPM table to set the MCLK for DPM states consist of
three entities:
 FCLK
 UCLK
 MEMCLK
All these three clk change together, MEMCLK from FCLK, so use the fclk
frequency.
2.we should show the current working clock freqency from clock table metric

Signed-off-by: Yuxian Dai <Yuxian.Dai@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/renoir_ppt.h