Home
last modified time | relevance | path

Searched refs:coh_mode (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_vm_madvise.c382 u16 pat_index, coh_mode; in madvise_args_are_sane() local
388 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in madvise_args_are_sane()
389 if (XE_IOCTL_DBG(xe, !coh_mode)) in madvise_args_are_sane()
392 if (XE_WARN_ON(coh_mode > XE_COH_2WAY)) in madvise_args_are_sane()
486 u16 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in check_pat_args_are_sane() local
498 if (coh_mode != XE_COH_NONE || IS_DGFX(xe)) in check_pat_args_are_sane()
582 u16 pat_index, coh_mode; in xe_vm_madvise_ioctl() local
641 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_madvise_ioctl()
644 (pat_index != 19 && coh_mode != XE_COH_2WAY))) { in xe_vm_madvise_ioctl()
680 coh_mode != XE_COH_2WAY))) { in xe_vm_madvise_ioctl()
H A Dxe_vm.c3642 u16 coh_mode; in vm_bind_ioctl_check_args()
3659 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in vm_bind_ioctl_check_args()
3661 if (XE_IOCTL_DBG(xe, !coh_mode)) { /* hw reserved */ in vm_bind_ioctl_check_args()
3666 if (XE_WARN_ON(coh_mode > XE_COH_2WAY)) { in vm_bind_ioctl_check_args()
3691 XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE && in vm_bind_ioctl_check_args()
3693 XE_IOCTL_DBG(xe, !IS_DGFX(xe) && coh_mode == XE_COH_NONE && in vm_bind_ioctl_check_args()
3698 (pat_index != 19 && coh_mode != XE_COH_2WAY)) || in vm_bind_ioctl_check_args()
3785 u16 coh_mode; in xe_vm_bind_ioctl_validate_bo()
3816 coh_mode = xe_pat_index_get_coh_mode(xe, pat_index); in xe_vm_bind_ioctl_validate_bo()
3818 if (XE_IOCTL_DBG(xe, coh_mode in xe_vm_bind_ioctl_validate_bo()
3643 u16 coh_mode; vm_bind_ioctl_check_args() local
3786 u16 coh_mode; xe_vm_bind_ioctl_validate_bo() local
[all...]