Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: add PTE defines for MTYPE

New on SOC-15 asics.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+4
+4
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
··· 67 67 68 68 #define AMDGPU_PTE_PRT (1ULL << 63) 69 69 70 + /* VEGA10 only */ 71 + #define AMDGPU_PTE_MTYPE(a) ((uint64_t)a << 57) 72 + #define AMDGPU_PTE_MTYPE_MASK AMDGPU_PTE_MTYPE(3ULL) 73 + 70 74 /* How to programm VM fault handling */ 71 75 #define AMDGPU_VM_FAULT_STOP_NEVER 0 72 76 #define AMDGPU_VM_FAULT_STOP_FIRST 1