drm/amdkfd: Add new iolink type defines
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Mon, 13 Aug 2018 18:02:17 +0000 (14:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:48:51 +0000 (22:48 -0500)
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

index b5cd182b9edd22fa08beb113396714b7e6e17b4a..7a93aeb984de51fadb88e13801379d72e341eeb8 100644 (file)
@@ -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