aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch')
-rw-r--r--common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch b/common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch
deleted file mode 100644
index a83dad59..00000000
--- a/common/recipes-kernel/linux/files/0729-amdgpu-gfxv8-Simplification-in-gfx_v8_0_enable_gui_i.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 3c040089ca942acd1fde41254cb09f2300c2e851 Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Tue, 1 Dec 2015 10:42:28 -0500
-Subject: [PATCH 0729/1565] amdgpu/gfxv8: Simplification in
- gfx_v8_0_enable_gui_idle_interrupt()
-
-Simplified the function by folding the two paths into one.
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 16 +++++-----------
- 1 file changed, 5 insertions(+), 11 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-index b5396db..33e3c0d 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
-@@ -2818,17 +2818,11 @@ static void gfx_v8_0_enable_gui_idle_interrupt(struct amdgpu_device *adev,
- {
- u32 tmp = RREG32(mmCP_INT_CNTL_RING0);
-
-- if (enable) {
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, 1);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, 1);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, 1);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, 1);
-- } else {
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, 0);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, 0);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, 0);
-- tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, 0);
-- }
-+ tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, enable ? 1 : 0);
-+ tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, enable ? 1 : 0);
-+ tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, enable ? 1 : 0);
-+ tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, enable ? 1 : 0);
-+
- WREG32(mmCP_INT_CNTL_RING0, tmp);
- }
-
---
-1.9.1
-