drm/amdgpu: fix the VM fault while write at the top of the invisible vram
authorHuang Rui <ray.huang@amd.com>
Tue, 16 Jan 2018 02:42:58 +0000 (10:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:36:42 +0000 (09:36 -0500)
commit760067769ebb3fad2ebf1880ad87afb309ef7b14
tree207bc2bf32cf02961b698cfee0db543cbfd47437
parent28ab1229c36a6538d2a964ce37967a9aefde004a
drm/amdgpu: fix the VM fault while write at the top of the invisible vram

Raven2 has a HW issue that it is unable to use the vram which is out of
MC_VM_SYSTEM_APERTURE_HIGH_ADDR. So here is the workaround that increase system
aperture high address to get rid of the VM fault and hardware hang.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c