aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch')
-rw-r--r--common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch b/common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch
deleted file mode 100644
index f8c6b50b..00000000
--- a/common/recipes-kernel/linux/files/0347-drm-amdgpu-add-hdp-invalidation-for-gfx8.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From de3ad4ceac667e19bcba2a1f3632bac8fabba2d8 Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <David1.Zhou@amd.com>
-Date: Thu, 3 Mar 2016 11:55:13 +0800
-Subject: [PATCH 0347/1110] drm/amdgpu: add hdp invalidation for gfx8
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Reviewed-by: Christian K├Ânig <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-index 1cda1af..fbe148d 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-@@ -4589,6 +4589,18 @@ static void gfx_v8_0_ring_emit_hdp_flush(struct amdgpu_ring *ring)
- amdgpu_ring_write(ring, 0x20); /* poll interval */
- }
-
-+static void gfx_v8_0_ring_emit_hdp_invalidate(struct amdgpu_ring *ring)
-+{
-+ amdgpu_ring_write(ring, PACKET3(PACKET3_WRITE_DATA, 3));
-+ amdgpu_ring_write(ring, (WRITE_DATA_ENGINE_SEL(0) |
-+ WRITE_DATA_DST_SEL(0) |
-+ WR_CONFIRM));
-+ amdgpu_ring_write(ring, mmHDP_DEBUG0);
-+ amdgpu_ring_write(ring, 0);
-+ amdgpu_ring_write(ring, 1);
-+
-+}
-+
- static void gfx_v8_0_ring_emit_ib_gfx(struct amdgpu_ring *ring,
- struct amdgpu_ib *ib)
- {
-@@ -5031,6 +5043,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_gfx = {
- .emit_vm_flush = gfx_v8_0_ring_emit_vm_flush,
- .emit_gds_switch = gfx_v8_0_ring_emit_gds_switch,
- .emit_hdp_flush = gfx_v8_0_ring_emit_hdp_flush,
-+ .emit_hdp_invalidate = gfx_v8_0_ring_emit_hdp_invalidate,
- .test_ring = gfx_v8_0_ring_test_ring,
- .test_ib = gfx_v8_0_ring_test_ib,
- .insert_nop = amdgpu_ring_insert_nop,
-@@ -5047,6 +5060,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = {
- .emit_vm_flush = gfx_v8_0_ring_emit_vm_flush,
- .emit_gds_switch = gfx_v8_0_ring_emit_gds_switch,
- .emit_hdp_flush = gfx_v8_0_ring_emit_hdp_flush,
-+ .emit_hdp_invalidate = gfx_v8_0_ring_emit_hdp_invalidate,
- .test_ring = gfx_v8_0_ring_test_ring,
- .test_ib = gfx_v8_0_ring_test_ib,
- .insert_nop = amdgpu_ring_insert_nop,
---
-2.7.4
-