drm/amdgpu: Keep pending_reset valid during smu reset the ASIC
Subsystems (2)
PATCH 1/2 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]>
Change-Id I8d88abf56d481e7443ac31baa2929826aec9e576
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 -1
@@ -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 */
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx