aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch')
-rw-r--r--common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch b/common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch
deleted file mode 100644
index 8427d919..00000000
--- a/common/recipes-kernel/linux/files/0349-drm-amdgpu-add-hdp-invalidation-for-sdma-v2_4.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 25230fa2b61a6c19e48ab80ab525783c1e4e8914 Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <David1.Zhou@amd.com>
-Date: Thu, 3 Mar 2016 12:06:34 +0800
-Subject: [PATCH 0349/1110] drm/amdgpu: add hdp invalidation for sdma v2_4
-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/sdma_v2_4.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
-index 60c2721..602a467 100644
---- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
-+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
-@@ -300,6 +300,13 @@ static void sdma_v2_4_ring_emit_hdp_flush(struct amdgpu_ring *ring)
- SDMA_PKT_POLL_REGMEM_DW5_INTERVAL(10)); /* retry count, poll interval */
- }
-
-+static void sdma_v2_4_ring_emit_hdp_invalidate(struct amdgpu_ring *ring)
-+{
-+ amdgpu_ring_write(ring, SDMA_PKT_HEADER_OP(SDMA_OP_SRBM_WRITE) |
-+ SDMA_PKT_SRBM_WRITE_HEADER_BYTE_EN(0xf));
-+ amdgpu_ring_write(ring, mmHDP_DEBUG0);
-+ amdgpu_ring_write(ring, 1);
-+}
- /**
- * sdma_v2_4_ring_emit_fence - emit a fence on the DMA ring
- *
-@@ -1291,6 +1298,7 @@ static const struct amdgpu_ring_funcs sdma_v2_4_ring_funcs = {
- .emit_fence = sdma_v2_4_ring_emit_fence,
- .emit_vm_flush = sdma_v2_4_ring_emit_vm_flush,
- .emit_hdp_flush = sdma_v2_4_ring_emit_hdp_flush,
-+ .emit_hdp_invalidate = sdma_v2_4_ring_emit_hdp_invalidate,
- .test_ring = sdma_v2_4_ring_test_ring,
- .test_ib = sdma_v2_4_ring_test_ib,
- .insert_nop = sdma_v2_4_ring_insert_nop,
---
-2.7.4
-