Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6643be65 authored by Chunming Zhou's avatar Chunming Zhou Committed by Alex Deucher
Browse files

drm/amdgpu: print when gpu reset successed

parent fcf0649f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2867,10 +2867,11 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev)
	drm_helper_resume_force_mode(adev->ddev);

	ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched);
	if (r) {
	if (r)
		/* bad news, how to tell it to userspace ? */
		dev_info(adev->dev, "GPU reset failed\n");
	}
	else
		dev_info(adev->dev, "GPU reset successed!\n");

	return r;
}