aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch
new file mode 100644
index 00000000..9c0b4f51
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0717-drm-amdgpu-cleanup-si_dma_ring_test_ib.patch
@@ -0,0 +1,40 @@
+From 693641031bac8bc7a5241a6e2c9a697ba5c58945 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Tue, 30 Oct 2018 13:07:26 +0100
+Subject: [PATCH 0717/2940] drm/amdgpu: cleanup si_dma_ring_test_ib
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Accidentially missed during the last cleanup.
+
+Signed-off-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>
+---
+ drivers/gpu/drm/amd/amdgpu/si_dma.c | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/si_dma.c b/drivers/gpu/drm/amd/amdgpu/si_dma.c
+index 68718ddf6ed0..bff6954c2150 100644
+--- a/drivers/gpu/drm/amd/amdgpu/si_dma.c
++++ b/drivers/gpu/drm/amd/amdgpu/si_dma.c
+@@ -286,13 +286,10 @@ static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout)
+ goto err1;
+ }
+ tmp = le32_to_cpu(adev->wb.wb[index]);
+- if (tmp == 0xDEADBEEF) {
+- DRM_DEBUG("ib test on ring %d succeeded\n", ring->idx);
++ if (tmp == 0xDEADBEEF)
+ r = 0;
+- } else {
+- DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp);
++ else
+ r = -EINVAL;
+- }
+
+ err1:
+ amdgpu_ib_free(adev, &ib, NULL);
+--
+2.17.1
+