aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch
new file mode 100644
index 00000000..bab96396
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2687-drm-amdkfd-Add-new-iolink-type-defines.patch
@@ -0,0 +1,39 @@
+From e30adbe0762bc08856e6f4b439542fec1065c123 Mon Sep 17 00:00:00 2001
+From: Shaoyun Liu <Shaoyun.Liu@amd.com>
+Date: Mon, 13 Aug 2018 14:02:17 -0400
+Subject: [PATCH 2687/2940] drm/amdkfd: Add new iolink type defines
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Update the iolink type defines according to the new thunk spec
+
+Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
+Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
+Acked-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.h b/drivers/gpu/drm/amd/amdkfd/kfd_crat.h
+index b5cd182b9edd..7a93aeb984de 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.h
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.h
+@@ -248,7 +248,12 @@ struct crat_subtype_ccompute {
+ #define CRAT_IOLINK_TYPE_RAPID_IO 8
+ #define CRAT_IOLINK_TYPE_INFINIBAND 9
+ #define CRAT_IOLINK_TYPE_RESERVED3 10
+-#define CRAT_IOLINK_TYPE_OTHER 11
++#define CRAT_IOLINK_TYPE_XGMI 11
++#define CRAT_IOLINK_TYPE_XGOP 12
++#define CRAT_IOLINK_TYPE_GZ 13
++#define CRAT_IOLINK_TYPE_ETHERNET_RDMA 14
++#define CRAT_IOLINK_TYPE_RDMA_OTHER 15
++#define CRAT_IOLINK_TYPE_OTHER 16
+ #define CRAT_IOLINK_TYPE_MAX 255
+
+ #define CRAT_IOLINK_RESERVED_LENGTH 24
+--
+2.17.1
+