drm/amdgpu/gfx11: properly handle regGRBM_GFX_CNTL in soft reset
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2024 17:19:58 +0000 (13:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:25:23 +0000 (21:25 -0400)
commit8b9130bae048a7854c6e7d3e2710d0e96e861d31
tree724a563270e31dfd23ba4542c5f78841e0ffe995
parentcb5b29178eab8cc3cc34c508c87dca6ff4306417
drm/amdgpu/gfx11: properly handle regGRBM_GFX_CNTL in soft reset

Need to take the srbm_mutex and while we are here, use the
helper function soc21_grbm_select();

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c