OSDN Git Service

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)
commit1cba0987610a1508358d1a3704fdb9c98b3be0ba
tree451b9792a2e9c17b2ec774458eddb99b5c0fdd44
parent74577c3a48a85f235a0506d07f31d91f170d8b19
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: 6c8d74caa2fa33 ("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