Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hsa/radeon: Check oversubscription before destroying runlist
This patch fixes a bug when using the mode of CP hardware scheduling without oversubscription. The bug was that the oversubscription check was performed _after_ the current runlist was destroyed, which caused the current HSA application to stop working. This patch moves the oversubscription check before the call to destroy the current runlist. If there is oversubscription, the function prints an error to dmesg and simply exits. Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
- Loading branch information