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 14:54:07 +0000 (09:54 -0500)
commit3c9a7b7d6e75208272fefbd0d2ddc951f70201df
tree1a289583beb17f382b75e402e344dcef4bc119fd
parent860cc26a0179894648f031a6eab6945cb09bd796
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