aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch
deleted file mode 100644
index e3bfa88b..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0898-drm-amd-amdgpu-Support-full-range-of-GFX-ring-names.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 5b423b0076fcc3e8d6bc1bec5595fd28c2a22b76 Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Fri, 1 Sep 2017 09:13:04 -0400
-Subject: [PATCH 0898/4131] drm/amd/amdgpu: Support full range of GFX ring
- names
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Right now there's only one but the rest of the code is being
-setup to support more so might as well fix this up too.
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-index ec28da9..58c354a 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-@@ -1330,7 +1330,10 @@ static int gfx_v9_0_sw_init(void *handle)
- for (i = 0; i < adev->gfx.num_gfx_rings; i++) {
- ring = &adev->gfx.gfx_ring[i];
- ring->ring_obj = NULL;
-- sprintf(ring->name, "gfx");
-+ if (!i)
-+ sprintf(ring->name, "gfx");
-+ else
-+ sprintf(ring->name, "gfx_%d", i);
- ring->use_doorbell = true;
- ring->doorbell_index = AMDGPU_DOORBELL64_GFX_RING0 << 1;
- r = amdgpu_ring_init(adev, ring, 1024,
---
-2.7.4
-