]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1bbcbe83497dec56e8091a9c481410389e88a27
tree22575efcc9b878ca6f4ebe1dfa9fc4f10ffe8171
parenta3cd5e079632fd754479a258aa6a56046ce674d1
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