Searched refs:afbc (Results 1 – 7 of 7) sorted by relevance
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() local183 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()[all …]
203 ext->zs_afbc_row_stride = slice->afbc.row_stride / in pan_prepare_zs()212 ext->zs_afbc_header = surf.afbc.header; in pan_prepare_zs()213 ext->zs_afbc_body = surf.afbc.body; in pan_prepare_zs()447 cfg->afbc.row_stride = slice->afbc.row_stride / in pan_prepare_rt()449 cfg->afbc.afbc_wide_block_enable = in pan_prepare_rt()452 cfg->afbc.chunk_size = 9; in pan_prepare_rt()453 cfg->afbc.sparse = true; in pan_prepare_rt()454 cfg->afbc.body_size = slice->afbc.body_size; in pan_prepare_rt()457 cfg->afbc.header = surf.afbc.header; in pan_prepare_rt()458 cfg->afbc.body = surf.afbc.body; in pan_prepare_rt()[all …]
69 } afbc; member217 } afbc; member
577 bool afbc = dev->has_afbc && panfrost_format_supports_afbc(dev, format); in panfrost_walk_dmabuf_modifiers() local583 if (drm_is_afbc(pan_best_modifiers[i]) && !afbc) in panfrost_walk_dmabuf_modifiers()
442 uint64_t afbc = in panfrost_best_modifier() local447 afbc |= AFBC_FORMAT_MOD_YTR; in panfrost_best_modifier()449 return DRM_FORMAT_MOD_ARM_AFBC(afbc); in panfrost_best_modifier()528 (s * slice->afbc.surface_stride); in panfrost_resource_init_afbc_headers()534 memset(ptr, 0, slice->afbc.header_size); in panfrost_resource_init_afbc_headers()
1368 memset(header, 0, image->pimage.layout.slices[level].afbc.header_size); in panvk_BindImageMemory2()
2526 - panfrost: Move zs format handling code out of the !afbc case