diff options
| author | shaoyunl <[email protected]> | 2021-03-15 15:36:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-24 03:36:04 +0000 |
| commit | 050743da315231c329272cb1004c1eabc1e2e715 (patch) | |
| tree | af94c79510b44a5719fa6bc6ae7df69d61821e15 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amdgpu: Enable light SBR in XGMI+passthrough configuration (diff) | |
| download | kernel-050743da315231c329272cb1004c1eabc1e2e715.tar.gz kernel-050743da315231c329272cb1004c1eabc1e2e715.zip | |
drm/amdgpu: Keep pending_reset valid during smu reset the ASIC
SMU internal might need to check this pending_reset setting to decide the reset method
Signed-off-by: shaoyunl <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 668c20902358..e123828fd027 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -1359,8 +1359,8 @@ static void amdgpu_drv_delayed_reset_work_handler(struct work_struct *work) } for (i = 0; i < mgpu_info.num_dgpu; i++) { adev = mgpu_info.gpu_ins[i].adev; - adev->gmc.xgmi.pending_reset = false; flush_work(&adev->xgmi_reset_work); + adev->gmc.xgmi.pending_reset = false; } /* reset function will rebuild the xgmi hive info , clear it now */ |
