|
@@ -575,6 +575,9 @@ static int kgd_hqd_destroy(struct kgd_dev *kgd, void *mqd,
|
|
unsigned long flags, end_jiffies;
|
|
unsigned long flags, end_jiffies;
|
|
int retry;
|
|
int retry;
|
|
|
|
|
|
|
|
+ if (adev->in_gpu_reset)
|
|
|
|
+ return -EIO;
|
|
|
|
+
|
|
acquire_queue(kgd, pipe_id, queue_id);
|
|
acquire_queue(kgd, pipe_id, queue_id);
|
|
WREG32(mmCP_HQD_PQ_DOORBELL_CONTROL, 0);
|
|
WREG32(mmCP_HQD_PQ_DOORBELL_CONTROL, 0);
|
|
|
|
|