diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1337-drm-amdkcl-Include-kcl-kcl_amd_asic_type.h-in-amdkfd.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1337-drm-amdkcl-Include-kcl-kcl_amd_asic_type.h-in-amdkfd.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1337-drm-amdkcl-Include-kcl-kcl_amd_asic_type.h-in-amdkfd.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1337-drm-amdkcl-Include-kcl-kcl_amd_asic_type.h-in-amdkfd.patch new file mode 100644 index 00000000..4a5fb686 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1337-drm-amdkcl-Include-kcl-kcl_amd_asic_type.h-in-amdkfd.patch @@ -0,0 +1,30 @@ +From 3c5547acd20f7737b52d1c652a9a6a70e293750f Mon Sep 17 00:00:00 2001 +From: "Le.Ma" <Le.Ma@amd.com> +Date: Thu, 14 Sep 2017 14:02:35 +0800 +Subject: [PATCH 1337/4131] drm/amdkcl: Include <kcl/kcl_amd_asic_type.h> in + amdkfd backport.h + +Change-Id: I04d47a1886c93e3988481173214e904de636df0b +Signed-off-by: Le.Ma <Le.Ma@amd.com> +Acked-by: Junwei Zhang <Jerry.Zhang@amd.com> +--- + drivers/gpu/drm/amd/amdkfd/backport/backport.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdkfd/backport/backport.h b/drivers/gpu/drm/amd/amdkfd/backport/backport.h +index 854c035..8b13b98 100644 +--- a/drivers/gpu/drm/amd/amdkfd/backport/backport.h ++++ b/drivers/gpu/drm/amd/amdkfd/backport/backport.h +@@ -2,6 +2,9 @@ + #define AMDKFD_BACKPORT_H + + #include <linux/version.h> ++#if defined(BUILD_AS_DKMS) ++#include <kcl/kcl_amd_asic_type.h> ++#endif + #include <kcl/kcl_compat.h> + #include <kcl/kcl_pci.h> + #include <kcl/kcl_mn.h> +-- +2.7.4 + |