Searched refs:coh_mode (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_vm_madvise.c | 524 u16 pat_index, coh_mode; in madvise_args_are_sane() local 530 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in madvise_args_are_sane() 531 if (XE_IOCTL_DBG(xe, !coh_mode)) in madvise_args_are_sane() 534 if (XE_WARN_ON(coh_mode > XE_COH_2WAY)) in madvise_args_are_sane() 628 u16 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in check_pat_args_are_sane() local 640 if (coh_mode != XE_COH_NONE || IS_DGFX(xe)) in check_pat_args_are_sane() 724 u16 pat_index, coh_mode; in xe_vm_madvise_ioctl() local 783 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_madvise_ioctl() 786 (pat_index != 19 && coh_mode != XE_COH_2WAY))) { in xe_vm_madvise_ioctl() 822 coh_mode != XE_COH_2WAY))) { in xe_vm_madvise_ioctl()
|
| H A D | xe_vm.c | 3610 u16 coh_mode; in vm_bind_ioctl_check_args() local 3627 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in vm_bind_ioctl_check_args() 3629 if (XE_IOCTL_DBG(xe, !coh_mode)) { /* hw reserved */ in vm_bind_ioctl_check_args() 3634 if (XE_WARN_ON(coh_mode > XE_COH_2WAY)) { in vm_bind_ioctl_check_args() 3659 XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE && in vm_bind_ioctl_check_args() 3661 XE_IOCTL_DBG(xe, !IS_DGFX(xe) && coh_mode == XE_COH_NONE && in vm_bind_ioctl_check_args() 3666 (pat_index != 19 && coh_mode != XE_COH_2WAY)) || in vm_bind_ioctl_check_args() 3753 u16 coh_mode; in xe_vm_bind_ioctl_validate_bo() local 3784 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_bind_ioctl_validate_bo() 3786 if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE && in xe_vm_bind_ioctl_validate_bo() [all …]
|