Home
last modified time | relevance | path

Searched refs:afbc (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
Dpan_texture.c120 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()
[all …]
Dpan_cs.c203 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 …]
Dpan_texture.h69 } afbc; member
217 } afbc; member
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_screen.c577 bool afbc = dev->has_afbc && panfrost_format_supports_afbc(dev, format); in panfrost_walk_dmabuf_modifiers() local
583 if (drm_is_afbc(pan_best_modifiers[i]) && !afbc) in panfrost_walk_dmabuf_modifiers()
Dpan_resource.c442 uint64_t afbc = in panfrost_best_modifier() local
447 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()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c1368 memset(header, 0, image->pimage.layout.slices[level].afbc.header_size); in panvk_BindImageMemory2()
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst2526 - panfrost: Move zs format handling code out of the !afbc case