[PATCH libdrm 3/4] libdrm/amdgpu: add new vram type (GDDR6) for navi10

Hawking Zhang Hawking.Zhang at amd.com
Tue Jun 18 11:40:32 UTC 2019


From: Tao Zhou <tao.zhou1 at amd.com>

AMDGPU_VRAM_TYPE_GDDR6 is a new vram type for navi10

Change-Id: I6789230f8f7f5bdcb0aec82cc764d10d72c4cba8
Signed-off-by: Tao Zhou <tao.zhou1 at amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
---
 include/drm/amdgpu_drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index b0c7555..015bd9f 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -913,6 +913,7 @@ struct drm_amdgpu_info_firmware {
 #define AMDGPU_VRAM_TYPE_HBM   6
 #define AMDGPU_VRAM_TYPE_DDR3  7
 #define AMDGPU_VRAM_TYPE_DDR4  8
+#define AMDGPU_VRAM_TYPE_GDDR6 9
 
 struct drm_amdgpu_info_device {
 	/** PCI Device ID */
-- 
2.7.4



More information about the amd-gfx mailing list