]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: resize VRAM BAR for CPU access on gfx10
authorAlan Swanson <reiver@improbability.net>
Thu, 21 May 2020 20:29:30 +0000 (21:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 22:00:01 +0000 (18:00 -0400)
commit65cc23f45f1944dea474c8d3b630cc5f8064424b
treee4af5f561f4957b78a765d54c585978aeda70f9b
parent78f99c8d294b7af435ab31a03d87b3c156bff164
drm/amdgpu: resize VRAM BAR for CPU access on gfx10

Try to resize BAR0 to let CPU access all of VRAM on Navi. Syncs
code with previous gfx generations from commit a93ff5d3190600
("drm/amdgpu: resize VRAM BAR for CPU access v6").

Signed-off-by: Alan Swanson <reiver@improbability.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c