]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: set the executable flag on unused Vega10 PTEs v2
authorChristian König <christian.koenig@amd.com>
Wed, 12 Dec 2018 14:13:10 +0000 (15:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commit54aa10e997cda8eb0ab1e38e5a6cf43c6f08a815
tree926b1e4e0daf77215ed0f966fb422b5dbedfddbf
parent850a3bdf4fbaab931cfa0d110464b6a4dc05b9af
drm/amdgpu: set the executable flag on unused Vega10 PTEs v2

Otherwise we run into a non-retry fault on access.

It seems to be a hardware bug that the executable bit has
higher priority than the valid bit.

v2: handle clears as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c