]> 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>
Wed, 14 Sep 2022 19:00:34 +0000 (15:00 -0400)
commit0af4ed0c329ebb4cef95fda4fcdbfcdea0255442
tree49bd8433020c46cb1ac679fc72730642c2c0b6d4
parenta8671493d2074950553da3cf07d1be43185ef6c6
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