]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite95b93ce4116780285f11f08a2bf78f48b23ed11
tree926b1e4e0daf77215ed0f966fb422b5dbedfddbf
parent5d50fcbda7b0acd301bb1fc3d828df0aa29237b8
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