]> 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)
commitdf967922a846f59d45e4b4d77d602ab186569129
tree20d9fe6b15869cc0840f22c071e1075d4e3ee936
parent4ff840436beaa28aed0a4a89f228ee7d3fc2b834
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