drm/amdgpu: record error code when ring test failed
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 30 Aug 2016 09:59:11 +0000 (17:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Aug 2016 16:45:56 +0000 (12:45 -0400)
commit1f703e6679f373f5bba4efe7093aa82e91af4037
tree19fa505b6ea3cf8b96a159dae2b33cae2ae604f2
parent53960b4f89db58bc155d6f8aa0a44ccc59ccb26f
drm/amdgpu: record error code when ring test failed

Otherwise we may miss errors.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c