]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: update mmhub mgcg&ls for mmhub_v2_3
authorAaron Liu <aaron.liu@amd.com>
Mon, 18 Jan 2021 09:05:00 +0000 (17:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Jan 2021 15:46:05 +0000 (10:46 -0500)
commit0ff3acfbc20c60280e56bf7c9e956c33c971e8f3
treed59aef86e1f19ab2b1e248b130aff46e88514393
parentdf7a0ba9d02e0947c90e09985dfdea64bbc89010
drm/amdgpu: update mmhub mgcg&ls for mmhub_v2_3

Starting from vangogh, the ATCL2 and DAGB0 registers relative
to mgcg/ls has changed.

For MGCG:
Replace mmMM_ATC_L2_MISC_CG with mmMM_ATC_L2_CGTT_CLK_CTRL.

For MGLS:
Replace mmMM_ATC_L2_MISC_CG with mmMM_ATC_L2_CGTT_CLK_CTRL.
Add DAGB0_(WR/RD)_CGTT_CLK_CTRL registers.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c