Patch "drm/amdgpu: record error code when ring test failed" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amdgpu: record error code when ring test failed
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-amdgpu-record-error-code-when-ring-test-failed.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
1f703e6679f373f5bba4efe7093aa82e91af4037Mon Sep 17 00:00:00 2001
From: Chunming Zhou <[email protected]>
Date: Tue, 30 Aug 2016 17:59:11 +0800
Subject: drm/amdgpu: record error code when ring test failed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Chunming Zhou <[email protected]>
commit 1f703e6679f373f5bba4efe7093aa82e91af4037 upstream.
Otherwise we may miss errors.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +3 -2
@@ -288,7 +288,7 @@ void amdgpu_ib_pool_fini(struct amdgpu_dint amdgpu_ib_ring_tests (struct amdgpu_device *adev) {unsigned i; -int r; +int r, ret =0 ;for (i =0 ; i <AMDGPU_MAX_RINGS ; ++i) {struct amdgpu_ring *ring = adev->rings[i];
@@ -309,10 +309,11 @@ int amdgpu_ib_ring_tests(struct amdgpu_d }else {/* still not good, but we can live with it */ DRM_ERROR ("amdgpu: failed testing IB on ring %d (%d).\n" , i, r); + ret = r; } } } -return 0 ; +return ret; }/*
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-amdgpu-record-error-code-when-ring-test-failed.patch