[PATCH 104/459] drm/amdgpu/discovery: update definition for struct die_header

Alex Deucher alexdeucher at gmail.com
Mon Jun 17 19:25:29 UTC 2019


From: Xiaojie Yuan <xiaojie.yuan at amd.com>

Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/include/discovery.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/include/discovery.h b/drivers/gpu/drm/amd/include/discovery.h
index e01d4cd9f2cb..5dcb776548d8 100644
--- a/drivers/gpu/drm/amd/include/discovery.h
+++ b/drivers/gpu/drm/amd/include/discovery.h
@@ -99,8 +99,8 @@ typedef struct ip
 
 typedef struct die_header
 {
-	uint32_t die_id;
-	uint32_t num_ips;
+	uint16_t die_id;
+	uint16_t num_ips;
 } die_header;
 
 typedef struct ip_structure
-- 
2.20.1



More information about the amd-gfx mailing list