]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: force fbdev into vram
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 13:42:26 +0000 (09:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 May 2020 20:51:25 +0000 (16:51 -0400)
commit0052624fce35a364f9646f4e02a61f2e6b96454a
tree451b9792a2e9c17b2ec774458eddb99b5c0fdd44
parent88189aee51cf4ac363640fdedb3928b2b1d4fae6
drm/amdgpu: force fbdev into vram

We set the fb smem pointer to the offset into the BAR, so keep
the fbdev bo in vram.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=207581
Fixes: b18bd34ca0d3c3 ("drm/amdgpu: Enable scatter gather display support")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c