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>
Fri, 8 May 2020 18:44:11 +0000 (14:44 -0400)
commita6aacb2b26e85aa619cf0c6f98d0ca77314cd2a1
tree85196e227ecd5230ea3356419c85f84d51216ef8
parentf4fcfa4282c1a1bf51475ebb0ffda623eebf1191
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c