aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch
new file mode 100644
index 00000000..c8cb9f8a
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2945-drm-amdgpu-no-need-with-INT-for-fence-polling.patch
@@ -0,0 +1,31 @@
+From 15dac8a0919a5eda21c8fb335be0c5bf8b500f6d Mon Sep 17 00:00:00 2001
+From: Monk Liu <Monk.Liu@amd.com>
+Date: Mon, 4 Dec 2017 20:46:17 +0800
+Subject: [PATCH 2945/4131] drm/amdgpu: no need with INT for fence polling
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: Ia13f12207d2e563f1f0c5d62cee74e0ae7d62e83
+Signed-off-by: Monk Liu <Monk.Liu@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+index 8d93143..ddd43c6 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+@@ -187,7 +187,7 @@ int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s)
+
+ seq = ++ring->fence_drv.sync_seq;
+ amdgpu_ring_emit_fence(ring, ring->fence_drv.gpu_addr,
+- seq, AMDGPU_FENCE_FLAG_INT);
++ seq, 0);
+
+ *s = seq;
+
+--
+2.7.4
+