drm/amdgpu: Fix default page access routing
authorJay Cornwall <jay@jcornwall.me>
Thu, 5 Nov 2015 19:06:15 +0000 (13:06 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2015 16:05:53 +0000 (11:05 -0500)
commita80b30476d240482d360a25a1b2e8c13036ed750
treed4b511f251afdb8e38b7ba11cfea8c9104c0f12b
parent24dd2f64c5a877392925202321c7c2c46c2b0ddf
drm/amdgpu: Fix default page access routing

The VM default page (used when a VM translation fails) is allocated in
system memory. The VM is misconfigured to interpret the physical address
as referencing a VRAM physical page.

Route default page accesses to system memory.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jay Cornwall <jay@jcornwall.me>
Cc: <stable@vger.kernel.org> # v4.2+
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c