summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-23 11:24:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-26 14:56:33 -0400
commitd534ca7128d7bf681ed6d462c09b9d6ffb3bed91 (patch)
treeb2bfd1420009b448882839dedad180dc5614d2ee /include/uapi/drm/amdgpu_drm.h
parenta5457087eb10322864dedb7768b7a95332393efe (diff)
downloadlinux-stable-d534ca7128d7bf681ed6d462c09b9d6ffb3bed91.tar.gz
linux-stable-d534ca7128d7bf681ed6d462c09b9d6ffb3bed91.tar.bz2
linux-stable-d534ca7128d7bf681ed6d462c09b9d6ffb3bed91.zip
drm/amdgpu: differentiate between LP and non-LP DDR memory
Some applications want to know whether the memory is LP or not. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 9a1d210d135d..d9d475d65c76 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -988,6 +988,8 @@ struct drm_amdgpu_info_vbios {
#define AMDGPU_VRAM_TYPE_DDR4 8
#define AMDGPU_VRAM_TYPE_GDDR6 9
#define AMDGPU_VRAM_TYPE_DDR5 10
+#define AMDGPU_VRAM_TYPE_LPDDR4 11
+#define AMDGPU_VRAM_TYPE_LPDDR5 12
struct drm_amdgpu_info_device {
/** PCI Device ID */