Lines Matching refs:combo
60 static bool format_compatible(const struct combination *combo, uint32_t format) in format_compatible() argument
62 if (combo->format == format) in format_compatible()
67 return combo->format == DRM_FORMAT_ARGB8888; in format_compatible()
69 return combo->format == DRM_FORMAT_ABGR8888; in format_compatible()
71 return combo->format == DRM_FORMAT_RGBA8888; in format_compatible()
73 return combo->format == DRM_FORMAT_BGRA8888; in format_compatible()
82 struct combination *combo; in i915_add_kms_item() local
89 combo = (struct combination *)drv_array_at_idx(drv->combos, i); in i915_add_kms_item()
90 if (!format_compatible(combo, item->format)) in i915_add_kms_item()
94 combo->metadata.tiling == I915_TILING_X) { in i915_add_kms_item()
101 combo->use_flags |= item->use_flags & ~BO_USE_CURSOR; in i915_add_kms_item()
106 combo->use_flags |= item->use_flags; in i915_add_kms_item()
108 if (combo->metadata.modifier == item->modifier) in i915_add_kms_item()
109 combo->use_flags |= item->use_flags; in i915_add_kms_item()
409 struct combination *combo; in i915_bo_create() local
411 combo = drv_get_combination(bo->drv, format, use_flags); in i915_bo_create()
412 if (!combo) in i915_bo_create()
415 return i915_bo_create_for_modifier(bo, width, height, format, combo->metadata.modifier); in i915_bo_create()