]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add sdma instance check for gfx11 CGCG
authorTim Huang <tim.huang@amd.com>
Mon, 22 Aug 2022 05:30:44 +0000 (13:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:53:19 +0000 (13:53 -0400)
commitfe2079fb98a37f31a77f996b333b88ab0640d8b3
tree15c8e2515aa9eae02fd9fe2894c5f1c78e4300d9
parent0ea2871bbcae320b412d2dff84446fb80660bda1
drm/amdgpu: add sdma instance check for gfx11 CGCG

For some ASICs, like GFX IP v11.0.1, only have one SDMA instance,
so not need to configure SDMA1_RLC_CGCG_CTRL for this case.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c