]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 30 Aug 2022 15:18:47 +0000 (23:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Sep 2022 19:10:35 +0000 (15:10 -0400)
commit070c1421d9ec7e843aaeec891c7207ef904504fe
tree72b96c974bdf2b252d42dfad15138532dd7be633
parentc42bf827bc4b61a0eba510347e21183b1fd320fe
drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1

there is only one SDMA engine in SDMA 6.0.1, the sdma_hqd_mask has to be
zeroed for the 2nd engine, otherwise MES scheduler will consider 2nd
engine exists and map/unmap SDMA queues to the non-existent engine.

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