mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
panfrost: Clarify what TILED mode is
We have 2 tile modes: tiled linear and tiled U-interleaved. Let's rename the existing value to clarify that. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6797>
This commit is contained in:
parent
3a06fc3d34
commit
76096c723a
3 changed files with 4 additions and 4 deletions
|
|
@ -243,7 +243,7 @@ panfrost_mfbd_set_cbuf(
|
|||
if (is_bifrost) {
|
||||
rt->format.unk3 |= 0x8;
|
||||
} else {
|
||||
rt->format.block = MALI_BLOCK_FORMAT_TILED;
|
||||
rt->format.block = MALI_BLOCK_FORMAT_TILED_U_INTERLEAVED;
|
||||
}
|
||||
|
||||
rt->framebuffer = base;
|
||||
|
|
@ -336,7 +336,7 @@ panfrost_mfbd_set_zsbuf(
|
|||
fbx->flags_hi |= 0x440;
|
||||
fbx->flags_lo |= 0x1;
|
||||
} else {
|
||||
fbx->zs_block = MALI_BLOCK_FORMAT_TILED;
|
||||
fbx->zs_block = MALI_BLOCK_FORMAT_TILED_U_INTERLEAVED;
|
||||
}
|
||||
|
||||
fbx->ds_linear.depth_stride = stride;
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ panfrost_sfbd_set_cbuf(
|
|||
if (rsrc->modifier == DRM_FORMAT_MOD_LINEAR)
|
||||
fb->format.block = MALI_BLOCK_FORMAT_LINEAR;
|
||||
else if (rsrc->modifier == DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED) {
|
||||
fb->format.block = MALI_BLOCK_FORMAT_TILED;
|
||||
fb->format.block = MALI_BLOCK_FORMAT_TILED_U_INTERLEAVED;
|
||||
fb->stride *= 16;
|
||||
} else {
|
||||
fprintf(stderr, "Invalid render modifier\n");
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@
|
|||
|
||||
<enum name="Block Format">
|
||||
<!--- 16x16 block u-interleaved -->
|
||||
<value name="Tiled" value="0"/>
|
||||
<value name="Tiled U-Interleaved" value="0"/>
|
||||
<value name="Linear" value="2"/>
|
||||
<value name="AFBC" value="3"/>
|
||||
</enum>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue