diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2018-03-08 18:01:24 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-14 14:38:26 -0500 |
commit | 1e09b05386f32efbebb798cf0341eca4b424c960 (patch) | |
tree | 2fa7522e6bc223818e37c36c56515cbc9ced01e7 /include/uapi | |
parent | bc227cfa444c692fcb0a860c5a9b5f9abb9c2b2b (diff) | |
download | linux-1e09b05386f32efbebb798cf0341eca4b424c960.tar.gz linux-1e09b05386f32efbebb798cf0341eca4b424c960.tar.bz2 linux-1e09b05386f32efbebb798cf0341eca4b424c960.zip |
drm/amdgpu: query vram type from atombios
The vram type for dGPU is stored in umc_info while sys mem type
for APU is stored in integratedsysteminfo
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 1816bd8200d1..528f6d041e90 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h @@ -806,6 +806,7 @@ struct drm_amdgpu_info_firmware { #define AMDGPU_VRAM_TYPE_GDDR5 5 #define AMDGPU_VRAM_TYPE_HBM 6 #define AMDGPU_VRAM_TYPE_DDR3 7 +#define AMDGPU_VRAM_TYPE_DDR4 8 struct drm_amdgpu_info_device { /** PCI Device ID */ |