Searched refs:mtype_local (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gmc_v9_0.c | 1058 unsigned int mtype_local, mtype; in gmc_v9_0_get_coherence_flags() local 1110 mtype_local = MTYPE_RW; in gmc_v9_0_get_coherence_flags() 1113 mtype_local = MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1116 mtype_local = MTYPE_CC; in gmc_v9_0_get_coherence_flags() 1130 mtype = is_local ? mtype_local : MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1134 mtype = mtype_local; in gmc_v9_0_get_coherence_flags() 1240 unsigned int mtype_local = MTYPE_RW; in gmc_v9_0_override_vm_pte_flags() 1243 mtype_local = MTYPE_NC; in gmc_v9_0_override_vm_pte_flags() 1245 mtype_local = MTYPE_CC; in gmc_v9_0_override_vm_pte_flags() 1247 *flags = AMDGPU_PTE_MTYPE_VG10(*flags, mtype_local); in gmc_v9_0_override_vm_pte_flags() 1259 unsigned int mtype_local = MTYPE_RW; gmc_v9_0_override_vm_pte_flags() local [all...] |
| H A D | amdgpu_drv.c | 839 * DOC: mtype_local (int) 842 MODULE_PARM_DESC(mtype_local, "MTYPE for local memory (default: ASIC dependent, 0 = MTYPE_RW, 1 = MTYPE_NC, 2 = MTYPE_CC)"); 843 module_param_named_unsafe(mtype_local, amdgpu_mtype_local, int, 0444);
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_svm.c | 1221 unsigned int mtype_local, mtype_remote; in svm_range_get_pte_flags() local 1266 mtype_local = AMDGPU_VM_MTYPE_CC; in svm_range_get_pte_flags() 1268 mtype_local = amdgpu_mtype_local == 1 ? AMDGPU_VM_MTYPE_NC : in svm_range_get_pte_flags() 1275 mapping_flags |= mtype_local; in svm_range_get_pte_flags() 1294 mapping_flags |= mtype_local; in svm_range_get_pte_flags() 1314 mtype_local = amdgpu_mtype_local == 0 ? AMDGPU_VM_MTYPE_RW : in svm_range_get_pte_flags() 1321 mapping_flags |= mtype_local; in svm_range_get_pte_flags()
|