summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-23 18:24:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-26 21:56:33 +0300
commitd534ca7128d7bf681ed6d462c09b9d6ffb3bed91 (patch)
treeb2bfd1420009b448882839dedad180dc5614d2ee /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenta5457087eb10322864dedb7768b7a95332393efe (diff)
downloadlinux-d534ca7128d7bf681ed6d462c09b9d6ffb3bed91.tar.xz
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 5444515c1476..e1e6441c475f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -1018,7 +1018,9 @@ static const char *amdgpu_vram_names[] = {
"DDR3",
"DDR4",
"GDDR6",
- "DDR5"
+ "DDR5",
+ "LPDDR4",
+ "LPDDR5"
};
/**