diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0015-amdgpu-gfxv8-Simplification-of-gfx_v8_0_create_bitma.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0015-amdgpu-gfxv8-Simplification-of-gfx_v8_0_create_bitma.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-kernel/linux/files/0015-amdgpu-gfxv8-Simplification-of-gfx_v8_0_create_bitma.patch b/common/recipes-kernel/linux/files/0015-amdgpu-gfxv8-Simplification-of-gfx_v8_0_create_bitma.patch deleted file mode 100644 index 8efc17c3..00000000 --- a/common/recipes-kernel/linux/files/0015-amdgpu-gfxv8-Simplification-of-gfx_v8_0_create_bitma.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 1e6e1ab728900b26bec4de25fc5d851133137c0b Mon Sep 17 00:00:00 2001 -From: Tom St Denis <tom.stdenis@amd.com> -Date: Tue, 1 Dec 2015 11:48:32 -0500 -Subject: [PATCH 0015/1110] amdgpu/gfxv8: Simplification of - gfx_v8_0_create_bitmask() - -Simplification of the function gfx_v8_0_create_bitmask(). - -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 | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -index f85de15..38f960c 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c -@@ -2555,13 +2555,7 @@ static void gfx_v8_0_tiling_mode_table_init(struct amdgpu_device *adev) - - static u32 gfx_v8_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); - } - - void gfx_v8_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num) --- -2.7.4 - |