[PATCH] drm/amd/amdgpu: Add missing "DDR4" label
Christian König
ckoenig.leichtzumerken at gmail.com
Fri Mar 9 11:22:23 UTC 2018
Am 09.03.2018 um 12:19 schrieb Tom St Denis:
> 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 <tom.stdenis at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
> index 216799ccb545..165d284ffebb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
> @@ -817,7 +817,8 @@ static const char *amdgpu_vram_names[] = {
> "GDDR4",
> "GDDR5",
> "HBM",
> - "DDR3"
> + "DDR3",
> + "DDR4",
> };
>
> int amdgpu_bo_init(struct amdgpu_device *adev)
More information about the amd-gfx
mailing list