]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Correct VRAM width for APUs with GMC9
authorTom St Denis <tom.stdenis@amd.com>
Mon, 26 Feb 2018 14:09:26 +0000 (09:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:47 +0000 (23:09 -0500)
commitddcfa0946fc429a8d7cf552929843486f1e0d001
treedb671c25b34215de2d07c963db7d3b96ceea410a
parentba6ce59ff33f8afc2d3cda491db54b216f44991a
drm/amd/amdgpu: Correct VRAM width for APUs with GMC9

DDR4 has a 64-bit width not 128-bits.  It was reporting
twice the width.  Tested with my Ryzen 2400G.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c