Searched refs:coh_mode (Results 1 – 2 of 2) sorted by relevance
294 u16 pat_index, coh_mode; in madvise_args_are_sane() local300 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in madvise_args_are_sane()301 if (XE_IOCTL_DBG(xe, !coh_mode)) in madvise_args_are_sane()304 if (XE_WARN_ON(coh_mode > XE_COH_AT_LEAST_1WAY)) in madvise_args_are_sane()
3405 u16 coh_mode; in vm_bind_ioctl_check_args() local3422 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in vm_bind_ioctl_check_args()3424 if (XE_IOCTL_DBG(xe, !coh_mode)) { /* hw reserved */ in vm_bind_ioctl_check_args()3429 if (XE_WARN_ON(coh_mode > XE_COH_AT_LEAST_1WAY)) { in vm_bind_ioctl_check_args()3452 XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE && in vm_bind_ioctl_check_args()3533 u16 coh_mode; in xe_vm_bind_ioctl_validate_bo() local3564 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_bind_ioctl_validate_bo()3566 if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE && in xe_vm_bind_ioctl_validate_bo()3570 } else if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE)) { in xe_vm_bind_ioctl_validate_bo()