aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch
new file mode 100644
index 00000000..32cae6ca
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1732-drm-amdgpu-Invalidate-tlb-for-all-hubs-on-Rocm-stack.patch
@@ -0,0 +1,29 @@
+From 71b319669b4c0f2cc2fe0a8982e19aab03a51994 Mon Sep 17 00:00:00 2001
+From: Shaoyun Liu <Shaoyun.Liu@amd.com>
+Date: Fri, 7 Jul 2017 11:53:40 -0400
+Subject: [PATCH 1732/4131] drm/amdgpu: Invalidate tlb for all hubs on Rocm
+ stack
+
+Change-Id: I6e4b07b14d72a2ae51b7436cfddf478e26be417c
+Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+index 42e0094..06a908c 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+@@ -971,6 +971,7 @@ static int invalidate_tlbs_with_kiq(struct amdgpu_device *adev, uint16_t pasid)
+ amdgpu_ring_write(ring, PACKET3(PACKET3_INVALIDATE_TLBS, 0));
+ amdgpu_ring_write(ring,
+ PACKET3_INVALIDATE_TLBS_DST_SEL(1) |
++ PACKET3_INVALIDATE_TLBS_ALL_HUB(1) |
+ PACKET3_INVALIDATE_TLBS_PASID(pasid));
+ amdgpu_fence_emit(ring, &f);
+ amdgpu_ring_commit(ring);
+--
+2.7.4
+