aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch')
-rw-r--r--common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch b/common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch
deleted file mode 100644
index 534c8981..00000000
--- a/common/recipes-kernel/linux/files/1072-drm-amdgpu-hdp-flush-inval-should-always-do.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 339c80958dc2ab9e6cfc3b1c4744500f4099be81 Mon Sep 17 00:00:00 2001
-From: Monk Liu <Monk.Liu@amd.com>
-Date: Wed, 4 May 2016 16:27:41 +0800
-Subject: [PATCH 1072/1110] drm/amdgpu:hdp flush&inval should always do
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This fixes Tonga vm-fault issue when running disaster
-(a multiple context GL heavy tests),
-We should always flush & invalidate hdp no matter vm
-used or not.
-
-Change-Id: Idc18cf413bfe21ec02d92c92598693c27060502a
-Signed-off-by: Monk Liu <Monk.Liu@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Chunming Zhou <David1.Zhou@amd.com>
-Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-index f879ffb..21f717a 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-@@ -175,10 +175,9 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
- amdgpu_ring_emit_ib(ring, ib, (i == 0 && old != fence_context));
- }
-
-- if (vm) {
-- if (ring->funcs->emit_hdp_invalidate)
-- amdgpu_ring_emit_hdp_invalidate(ring);
-- }
-+ if (ring->funcs->emit_hdp_invalidate)
-+ amdgpu_ring_emit_hdp_invalidate(ring);
-+
- ring->last_fence_context = fence_context;
-
- r = amdgpu_fence_emit(ring, &hwf);
---
-2.7.4
-