Searched refs:explicit_layout (Results 1 – 4 of 4) sorted by relevance
308 const struct pan_image_explicit_layout *explicit_layout) in pan_image_layout_init() argument313 if (explicit_layout && in pan_image_layout_init()325 if (explicit_layout && in pan_image_layout_init()326 !(pan_is_stride_aligned(layout->format, explicit_layout->offset) && in pan_image_layout_init()327 pan_is_stride_aligned(layout->format, explicit_layout->row_stride))) in pan_image_layout_init()342 unsigned offset = explicit_layout ? explicit_layout->offset : 0; in pan_image_layout_init()374 if (explicit_layout && !afbc) { in pan_image_layout_init()376 if (explicit_layout->row_stride < row_stride) in pan_image_layout_init()379 row_stride = explicit_layout->row_stride; in pan_image_layout_init()404 if (explicit_layout && explicit_layout->row_stride < slice->row_stride) in pan_image_layout_init()[all …]
240 const struct pan_image_explicit_layout *explicit_layout);
107 bool is_3d, struct fdl_explicit_layout *explicit_layout) in fdl6_layout() argument159 if (!explicit_layout) in fdl6_layout()168 if (explicit_layout) { in fdl6_layout()169 offset = explicit_layout->offset; in fdl6_layout()170 layout->pitch0 = explicit_layout->pitch; in fdl6_layout()
87 struct pan_image_explicit_layout explicit_layout = { in panfrost_resource_from_handle() local105 bool valid = pan_image_layout_init(&rsc->image.layout, &explicit_layout); in panfrost_resource_from_handle()