diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0829-SDMA-macro-define-missing.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0829-SDMA-macro-define-missing.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0829-SDMA-macro-define-missing.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0829-SDMA-macro-define-missing.patch new file mode 100644 index 00000000..84264fa5 --- /dev/null +++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0829-SDMA-macro-define-missing.patch @@ -0,0 +1,29 @@ +From f5da19d4f04a2958d487a973a6e84043ac8e3795 Mon Sep 17 00:00:00 2001 +From: Yong Zhao <yong.zhao@amd.com> +Date: Wed, 30 Mar 2016 18:26:03 -0400 +Subject: [PATCH 0829/4131] SDMA macro define missing. + +This define should be provided from the IP block header. Add it +directly to the source file as a quick fix. + +Change-Id: I215d37f9842015ac7f376abeb8cc118f94b7e840 +--- + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +index 6f76b26..b65b4e3 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +@@ -48,6 +48,8 @@ + #include "oss/oss_2_0_d.h" + #include "oss/oss_2_0_sh_mask.h" + ++#define NUM_SIMD_PER_CU 0x4 ++ + #define GFX7_NUM_GFX_RINGS 1 + #define GFX7_MEC_HPD_SIZE 2048 + +-- +2.7.4 + |