aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch')
-rw-r--r--common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch b/common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch
deleted file mode 100644
index e19770eb..00000000
--- a/common/recipes-kernel/linux/files/0482-drm-amdgpu-reduce-the-ring-size-for-GFX.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 98c76982a907e0d78d1f446cf1a869625e6079a7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Wed, 13 Apr 2016 10:27:35 +0200
-Subject: [PATCH 0482/1110] drm/amdgpu: reduce the ring size for GFX
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Those are way too large.
-
-Signed-off-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 4 ++--
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-index 967150c..35d2d4a 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-@@ -4414,7 +4414,7 @@ static int gfx_v7_0_sw_init(void *handle)
- ring = &adev->gfx.gfx_ring[i];
- ring->ring_obj = NULL;
- sprintf(ring->name, "gfx");
-- r = amdgpu_ring_init(adev, ring, 128 * 1024,
-+ r = amdgpu_ring_init(adev, ring, 1024,
- PACKET3(PACKET3_NOP, 0x3FFF), 0xf,
- &adev->gfx.eop_irq, AMDGPU_CP_IRQ_GFX_EOP,
- AMDGPU_RING_TYPE_GFX);
-@@ -4441,7 +4441,7 @@ static int gfx_v7_0_sw_init(void *handle)
- sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue);
- irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe;
- /* type-2 packets are deprecated on MEC, use type-3 instead */
-- r = amdgpu_ring_init(adev, ring, 128 * 1024,
-+ r = amdgpu_ring_init(adev, ring, 1024,
- PACKET3(PACKET3_NOP, 0x3FFF), 0xf,
- &adev->gfx.eop_irq, irq_type,
- AMDGPU_RING_TYPE_COMPUTE);
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-index 9839d4e..d31fd9f 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-@@ -1570,7 +1570,7 @@ static int gfx_v8_0_sw_init(void *handle)
- ring->doorbell_index = AMDGPU_DOORBELL_GFX_RING0;
- }
-
-- r = amdgpu_ring_init(adev, ring, 128 * 1024,
-+ r = amdgpu_ring_init(adev, ring, 1024,
- PACKET3(PACKET3_NOP, 0x3FFF), 0xf,
- &adev->gfx.eop_irq, AMDGPU_CP_IRQ_GFX_EOP,
- AMDGPU_RING_TYPE_GFX);
-@@ -1597,7 +1597,7 @@ static int gfx_v8_0_sw_init(void *handle)
- sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue);
- irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe;
- /* type-2 packets are deprecated on MEC, use type-3 instead */
-- r = amdgpu_ring_init(adev, ring, 128 * 1024,
-+ r = amdgpu_ring_init(adev, ring, 1024,
- PACKET3(PACKET3_NOP, 0x3FFF), 0xf,
- &adev->gfx.eop_irq, irq_type,
- AMDGPU_RING_TYPE_COMPUTE);
---
-2.7.4
-