aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2025-04-03 08:51:20 +0000
committerAlex Deucher <[email protected]>2025-05-13 13:31:40 +0000
commit1df57411a658fd8b411323f8dd0d67e789b9c777 (patch)
tree4fe9fde39630568d60c32aa93e195864b9d03d2b /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentRefine RAS bad page records counting and parsing in eeprom V3 (diff)
downloadkernel-1df57411a658fd8b411323f8dd0d67e789b9c777.tar.gz
kernel-1df57411a658fd8b411323f8dd0d67e789b9c777.zip
drm/amd: add definition for new memory type
Support new version of HBM. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
index eb015bdda8a7..c7d32fb216e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
@@ -281,6 +281,9 @@ static int convert_atom_mem_type_to_vram_type(struct amdgpu_device *adev,
case ATOM_DGPU_VRAM_TYPE_GDDR6:
vram_type = AMDGPU_VRAM_TYPE_GDDR6;
break;
+ case ATOM_DGPU_VRAM_TYPE_HBM3E:
+ vram_type = AMDGPU_VRAM_TYPE_HBM3E;
+ break;
default:
vram_type = AMDGPU_VRAM_TYPE_UNKNOWN;
break;