diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2017-05-04 22:50:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:40:33 -0400 |
commit | 6643be65d9e3e76960119957e5ad1acecb0b8dc0 (patch) | |
tree | 1acbb991cb6a97b39503a0d0c22b0aa9f4e9caaf /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | fcf0649fcc71d1d6a8d45d7cba21b6a0ad6489b7 (diff) |
drm/amdgpu: print when gpu reset successed
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Roger.He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 3c95e1858aa2..ee0877342566 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -2867,10 +2867,11 @@ out: | |||
2867 | drm_helper_resume_force_mode(adev->ddev); | 2867 | drm_helper_resume_force_mode(adev->ddev); |
2868 | 2868 | ||
2869 | ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched); | 2869 | ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched); |
2870 | if (r) { | 2870 | if (r) |
2871 | /* bad news, how to tell it to userspace ? */ | 2871 | /* bad news, how to tell it to userspace ? */ |
2872 | dev_info(adev->dev, "GPU reset failed\n"); | 2872 | dev_info(adev->dev, "GPU reset failed\n"); |
2873 | } | 2873 | else |
2874 | dev_info(adev->dev, "GPU reset successed!\n"); | ||
2874 | 2875 | ||
2875 | return r; | 2876 | return r; |
2876 | } | 2877 | } |