Lines Matching refs:afbc
120 return layout->slices[level].afbc.surface_stride; in panfrost_get_layer_stride()
180 bool afbc = drm_is_afbc(layout->modifier); in pan_image_layout_init() local
183 bool should_align = tiled || afbc; in pan_image_layout_init()
190 if (tiled || afbc) { in pan_image_layout_init()
238 if (afbc) { in pan_image_layout_init()
239 slice->afbc.header_size = in pan_image_layout_init()
243 slice->afbc.row_stride = in pan_image_layout_init()
248 slice->afbc.body_size = slice_one_size; in pan_image_layout_init()
255 slice->afbc.surface_stride = in pan_image_layout_init()
256 slice->afbc.header_size; in pan_image_layout_init()
257 slice->afbc.header_size *= effective_depth; in pan_image_layout_init()
258 slice->afbc.body_size *= effective_depth; in pan_image_layout_init()
259 offset += slice->afbc.header_size; in pan_image_layout_init()
261 slice_one_size += slice->afbc.header_size; in pan_image_layout_init()
262 slice->afbc.surface_stride = slice_one_size; in pan_image_layout_init()
327 surf->afbc.header = base + slice->offset + in pan_iview_get_surface()
328 (layer * slice->afbc.surface_stride); in pan_iview_get_surface()
329 surf->afbc.body = base + slice->offset + in pan_iview_get_surface()
330 slice->afbc.header_size + in pan_iview_get_surface()
334 surf->afbc.header = base + in pan_iview_get_surface()
337 surf->afbc.body = surf->afbc.header + slice->afbc.header_size; in pan_iview_get_surface()
565 *row_stride = PAN_ARCH < 7 ? 0 : slice->afbc.row_stride; in panfrost_get_surface_strides()
566 *surf_stride = slice->afbc.surface_stride; in panfrost_get_surface_strides()