Commit bc227cfa authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

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: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent edc3d27c
...@@ -821,7 +821,8 @@ static const char *amdgpu_vram_names[] = { ...@@ -821,7 +821,8 @@ static const char *amdgpu_vram_names[] = {
"GDDR4", "GDDR4",
"GDDR5", "GDDR5",
"HBM", "HBM",
"DDR3" "DDR3",
"DDR4",
}; };
int amdgpu_bo_init(struct amdgpu_device *adev) int amdgpu_bo_init(struct amdgpu_device *adev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment