|
@@ -260,8 +260,10 @@ static void xgpu_ai_mailbox_flr_work(struct work_struct *work)
|
|
} while (timeout > 1);
|
|
} while (timeout > 1);
|
|
|
|
|
|
flr_done:
|
|
flr_done:
|
|
- if (locked)
|
|
|
|
|
|
+ if (locked) {
|
|
|
|
+ adev->in_gpu_reset = 0;
|
|
mutex_unlock(&adev->lock_reset);
|
|
mutex_unlock(&adev->lock_reset);
|
|
|
|
+ }
|
|
|
|
|
|
/* Trigger recovery for world switch failure if no TDR */
|
|
/* Trigger recovery for world switch failure if no TDR */
|
|
if (amdgpu_lockup_timeout == 0)
|
|
if (amdgpu_lockup_timeout == 0)
|