drm/amdgpu: Optimize sdma ras block initialization code for sdma v4_0
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 17 Jan 2023 08:06:49 +0000 (16:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Jan 2023 22:24:26 +0000 (17:24 -0500)
commit2cfb737b4b54447e0d801e17b5d1d524cd2d3987
tree41d66547c48f83926d09c78ec05ca456ad6d59db
parent3ba3c2db2f59ca1258cbd064cbd6e4ef316205d9
drm/amdgpu: Optimize sdma ras block initialization code for sdma v4_0

Optimize sdma ras block initialization code for sdma v4_0.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c