aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTom St Denis <[email protected]>2018-03-09 11:16:55 +0000
committerAlex Deucher <[email protected]>2018-03-14 19:38:25 +0000
commitbc227cfa444c692fcb0a860c5a9b5f9abb9c2b2b (patch)
tree9fb07854f9fe9fd076daa771562295f9af575ea9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Correct the amdgpu_ucode_fini_bo place for Tonga (diff)
downloadkernel-bc227cfa444c692fcb0a860c5a9b5f9abb9c2b2b.tar.gz
kernel-bc227cfa444c692fcb0a860c5a9b5f9abb9c2b2b.zip
drm/amd/amdgpu: Add missing "DDR4" label
The commit d296278fd372003fc69588acfd0c0c5edbdf4874 added support for detecting DDR4 but omitted the label that is printed out in amdgpu_bo_init() resulting in a KASAN error. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 9157745fce14..3ad2b6c65b85 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -821,7 +821,8 @@ static const char *amdgpu_vram_names[] = {
"GDDR4",
"GDDR5",
"HBM",
- "DDR3"
+ "DDR3",
+ "DDR4",
};
int amdgpu_bo_init(struct amdgpu_device *adev)