aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch')
-rw-r--r--common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch b/common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch
deleted file mode 100644
index 2f619677..00000000
--- a/common/recipes-kernel/linux/files/0296-drm-amdgpu-gfx7-Simplify-bitmask-creation.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 6849edf82b6aeafc89f4415108cc5ec8fe56773d Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Mon, 8 Feb 2016 08:48:15 -0500
-Subject: [PATCH 0296/1110] drm/amdgpu/gfx7: Simplify bitmask creation
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 8 +-------
- 1 file changed, 1 insertion(+), 7 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-index 1543240..adaa3f8 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
-@@ -1598,13 +1598,7 @@ void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num)
- */
- static u32 gfx_v7_0_create_bitmask(u32 bit_width)
- {
-- u32 i, mask = 0;
--
-- for (i = 0; i < bit_width; i++) {
-- mask <<= 1;
-- mask |= 1;
-- }
-- return mask;
-+ return (u32)((1ULL<<bit_width)-1);
- }
-
- /**
---
-2.7.4
-