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:
parent
421e9248c1
commit
8a4603f9c4
@ -717,6 +717,9 @@ let
|
|||||||
|
|
||||||
# Enable AMD's ROCm GPU compute stack
|
# Enable AMD's ROCm GPU compute stack
|
||||||
HSA_AMD = whenAtLeast "4.20" yes;
|
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 = no;
|
||||||
PREEMPT_VOLUNTARY = yes;
|
PREEMPT_VOLUNTARY = yes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user