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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:32:42 +0000 (08:32 +0200)
commitd6af5abb8d5d0690149ff2dab62c830521c6b795
tree156eb3837772d18801e4186fd67717ac22986a63
parent2d4ab6c1368a8bdf2d4c8a2980f028f6f0fb142e
drm/amdgpu: record error code when ring test failed

commit 1f703e6679f373f5bba4efe7093aa82e91af4037 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c