[PATCH 76/83] hsa/radeon: Check oversubscription before destroying runlist

2014-07-10 Thread Oded Gabbay
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

[PATCH 76/83] hsa/radeon: Check oversubscription before destroying runlist

2014-07-10 Thread Oded Gabbay
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