drm/amdgpu: fix huge page handling on Vega10
authorChristian König <christian.koenig@amd.com>
Mon, 12 Nov 2018 17:08:31 +0000 (18:08 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Nov 2018 15:21:00 +0000 (10:21 -0500)
commitc1a17777eb45d9f3821f35e9869c0a08cd2e664e
tree22575efcc9b878ca6f4ebe1dfa9fc4f10ffe8171
parent4d454e9ffdb1ef5a51ebc147b5389c96048db683
drm/amdgpu: fix huge page handling on Vega10

We accidentially set the huge flag on the parent instead of the childs.
This caused some VM faults under memory pressure.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c