Lines Matching defs:layout
59 static uint64_t layout_to_modifier(enum etna_surface_layout layout)
61 switch (layout) {
105 (rsc->layout != ETNA_LAYOUT_LINEAR ||
201 etna_resource_alloc(struct pipe_screen *pscreen, unsigned layout,
240 etna_layout_multiple(layout, screen->specs.pixel_pipes,
251 if (!screen->specs.use_blt && templat->target != PIPE_BUFFER && layout == ETNA_LAYOUT_LINEAR)
261 rsc->layout = layout;
322 unsigned layout = ETNA_LAYOUT_TILED;
337 layout |= ETNA_LAYOUT_BIT_MULTI;
339 layout |= ETNA_LAYOUT_BIT_SUPER;
343 layout |= ETNA_LAYOUT_BIT_SUPER;
351 layout = ETNA_LAYOUT_LINEAR;
355 return etna_resource_alloc(pscreen, layout, DRM_FORMAT_MOD_LINEAR, templat);
497 rsc->layout = modifier_to_layout(handle->modifier);
511 etna_layout_multiple(rsc->layout, screen->specs.pixel_pipes,
515 if (!screen->specs.use_blt && rsc->layout == ETNA_LAYOUT_LINEAR)
584 handle->modifier = layout_to_modifier(rsc->layout);
638 *value = layout_to_modifier(rsc->layout);