Searched refs:afbc (Results 1 – 10 of 10) sorted by relevance
225 return layout->slices[level].afbc.surface_stride; in panfrost_get_layer_stride()337 bool afbc = drm_is_afbc(layout->modifier); in pan_image_layout_init() local354 if (afbc) { in pan_image_layout_init()374 if (explicit_layout && !afbc) { in pan_image_layout_init()397 if (afbc) { in pan_image_layout_init()400 slice->afbc.header_size = in pan_image_layout_init()408 slice->afbc.body_size = slice_one_size; in pan_image_layout_init()415 slice->afbc.surface_stride = in pan_image_layout_init()416 slice->afbc.header_size; in pan_image_layout_init()417 slice->afbc.header_size *= depth; in pan_image_layout_init()[all …]
225 ext->zs_writeback_base = surf.afbc.header; in pan_prepare_zs()228 ext->zs_afbc_body_offset = surf.afbc.body - surf.afbc.header; in pan_prepare_zs()241 ext->zs_afbc_header = surf.afbc.header; in pan_prepare_zs()242 ext->zs_afbc_body = surf.afbc.body; in pan_prepare_zs()501 cfg->afbc.yuv_transform = true; in pan_prepare_rt()503 cfg->afbc.wide_block = panfrost_afbc_is_wide(rt->image->layout.modifier); in pan_prepare_rt()504 cfg->afbc.header = surf.afbc.header; in pan_prepare_rt()505 cfg->afbc.body_offset = surf.afbc.body - surf.afbc.header; in pan_prepare_rt()506 assert(surf.afbc.body >= surf.afbc.header); in pan_prepare_rt()508 cfg->afbc.compression_mode = pan_afbc_compression_mode(rt->format); in pan_prepare_rt()[all …]
249 *surf_stride = slice->afbc.surface_stride; in panfrost_get_surface_strides()387 bool afbc = drm_is_afbc(layout->modifier); in panfrost_emit_plane() local399 assert(!afbc); in panfrost_emit_plane()425 } else if (afbc) { in panfrost_emit_plane()427 cfg.afbc.superblock_size = translate_superblock_size(layout->modifier); in panfrost_emit_plane()428 cfg.afbc.ytr = (layout->modifier & AFBC_FORMAT_MOD_YTR); in panfrost_emit_plane()429 cfg.afbc.tiled_header = (layout->modifier & AFBC_FORMAT_MOD_TILED); in panfrost_emit_plane()430 cfg.afbc.prefetch = true; in panfrost_emit_plane()431 cfg.afbc.compression_mode = pan_afbc_compression_mode(format); in panfrost_emit_plane()432 cfg.afbc.header_stride = layout->slices[level].afbc.header_size; in panfrost_emit_plane()[all …]
79 } afbc; member263 } afbc; member
387 EXPECT_EQ(l.slices[0].afbc.header_size, 1024); in TEST()388 EXPECT_EQ(l.slices[0].afbc.body_size, 32768); in TEST()389 EXPECT_EQ(l.slices[0].afbc.surface_stride, 64); in TEST()427 EXPECT_EQ(l.slices[0].afbc.header_size, 32768); in TEST()428 EXPECT_EQ(l.slices[0].afbc.body_size, 2097152); in TEST()454 EXPECT_EQ(l.slices[0].afbc.header_size, 64); in TEST()455 EXPECT_EQ(l.slices[0].afbc.body_size, 32 * 8); in TEST()482 EXPECT_EQ(l.slices[0].afbc.header_size, 4096); in TEST()483 EXPECT_EQ(l.slices[0].afbc.body_size, 32 * 8 * 8 * 8); in TEST()
405 uint64_t afbc = in panfrost_best_modifier() local410 afbc |= AFBC_FORMAT_MOD_YTR; in panfrost_best_modifier()413 afbc |= AFBC_FORMAT_MOD_TILED | AFBC_FORMAT_MOD_SC; in panfrost_best_modifier()415 return DRM_FORMAT_MOD_ARM_AFBC(afbc); in panfrost_best_modifier()498 (s * slice->afbc.surface_stride); in panfrost_resource_init_afbc_headers()504 memset(ptr, 0, slice->afbc.header_size); in panfrost_resource_init_afbc_headers()
606 bool afbc = dev->has_afbc && panfrost_format_supports_afbc(dev, format); in panfrost_walk_dmabuf_modifiers() local613 if (drm_is_afbc(pan_best_modifiers[i]) && !afbc) in panfrost_walk_dmabuf_modifiers()
1361 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
1testfile45.o: elf64-elf_x86_64 2 3Disassembly of section .text: 4 5 0 ...