]> 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>
Wed, 28 Feb 2018 20:19:21 +0000 (15:19 -0500)
commitfc27044ef27e40e555fc408d1d6392909a498dd8
treecc51e290db6a567c5e6ddafc91968f26b0669e0a
parent38fc67f53256e97f9237320aaa33c557dfbe7dda
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