]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix DQM asserts on Hawaii
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 8 Dec 2021 03:03:52 +0000 (22:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jan 2022 20:44:28 +0000 (15:44 -0500)
commit7ebff70ed5d782a89628d41e60c49af9985b68dd
tree64c5237b0be1686c7a93de213b1318150dfc6a01
parentff11cae7b09d6f78caa6b025fdc89491ed6c7060
drm/amdkfd: Fix DQM asserts on Hawaii

start_nocpsch would never set dqm->sched_running on Hawaii due to an
early return statement. This would trigger asserts in other functions
and end up in inconsistent states.

Bug: https://github.com/RadeonOpenCompute/ROCm/issues/1624
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c