]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Correct the read sclk for navi10
authorEmily.Deng <Emily.Deng@amd.com>
Tue, 5 Jan 2021 03:21:25 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Jan 2021 20:18:19 +0000 (15:18 -0500)
commitd579a8c1eb3924d10bdbd5166e38f2b79a668be4
tree395da6315f1a4fb09e06b94f8327fb573d63e0ad
parent6d06a3037c25aff7d7c7d43dc1c2a29d7efa2f52
drm/amdgpu: Correct the read sclk for navi10

According to hw, after navi10,it runs in dfll mode, and should
read sclk from AverageGfxclkFrequency.

Signed-off-by: Emily.Deng <Emily.Deng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c