xe_device_has_flat_ccs
if (!xe_device_has_flat_ccs(xe)) {
if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe))
((xe_device_has_flat_ccs(xe) && copy_only_ccs) ? EMIT_COPY_CCS_DW : 0);
if (!xe_device_has_flat_ccs(xe)) {
if (!xe_device_has_flat_ccs(xe) || bo->ttm.type != ttm_bo_type_device)
if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe)))
return xe_device_has_flat_ccs(xe) ?
GRAPHICS_VER(xe) >= 20 && xe_device_has_flat_ccs(xe);
if (GRAPHICS_VER(xe) >= 20 && xe_device_has_flat_ccs(xe)) {
return xe_device_has_flat_ccs(xe) && !(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe));
if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe))
bool copy_ccs = xe_device_has_flat_ccs(xe) &&
bool use_comp_pat = type_device && xe_device_has_flat_ccs(xe) &&
if (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe) ||
return !IS_DGFX(xe) && xe_device_has_flat_ccs(xe);