]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add coreboot workaround for KV/KB
authorChristian König <christian.koenig@amd.com>
Thu, 16 Jan 2020 13:06:59 +0000 (14:06 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:45 +0000 (16:46 -0500)
commit079a00deea020eb2f1293090b3ab56bb497ae0f9
tree20d9fe6b15869cc0840f22c071e1075d4e3ee936
parent2a6f37bf8bac398796d5b8c47efcd19ea1725bd7
drm/amdgpu: add coreboot workaround for KV/KB

Coreboot seems to have a problem correctly setting up access to the stolen VRAM
on KV/KB. Use the direct access only when necessary.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-and-tested-by: Fredrik Bruhn <fredrik.bruhn@unibap.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c