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:
Boris Brezillon 2020-09-03 17:26:49 +02:00 committed by Alyssa Rosenzweig
parent 3a06fc3d34
commit 76096c723a
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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");

View file

@ -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>