linux: fix amdgpu memory mapping with kernel >= 5.3

These configuration options are needed for the ROCm GPU compute stack
on kernels >= 5.3.
This commit is contained in:
Anthony Cowley 2019-12-07 11:06:42 -05:00 committed by Matthieu Coudron
parent 421e9248c1
commit 8a4603f9c4

View File

@ -717,6 +717,9 @@ let
# Enable AMD's ROCm GPU compute stack
HSA_AMD = whenAtLeast "4.20" yes;
ZONE_DEVICE = whenAtLeast "5.3" yes;
HMM_MIRROR = whenAtLeast "5.3" yes;
DRM_AMDGPU_USERPTR = whenAtLeast "5.3" yes;
PREEMPT = no;
PREEMPT_VOLUNTARY = yes;