drm-uapi: update drm_fourcc.h

https://cgit.freedesktop.org/drm-misc/commit/?id=3aecd55af5b83d16d84e3c333d4163999ee8ff51

Adds DRM_FORMAT_MOD_ARM_INTERLEAVED_64K

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38986>
This commit is contained in:
Caterina Shablia 2026-01-21 19:03:00 +00:00 committed by Marge Bot
parent 09c2fadf90
commit c19efbf606

View file

@ -1422,6 +1422,22 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
#define DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED \
DRM_FORMAT_MOD_ARM_CODE(DRM_FORMAT_MOD_ARM_TYPE_MISC, 1ULL)
/*
* ARM 64k interleaved modifier
*
* This is used by ARM Mali v10+ GPUs. With this modifier, the plane is divided
* into 64k byte 1:1 or 2:1 -sided tiles. The 64k tiles are laid out linearly.
* Each 64k tile is divided into blocks of 16x16 texel blocks, which are
* themselves laid out linearly within a 64k tile. Then within each 16x16
* block, texel blocks are laid out according to U order, similar to
* 16X16_BLOCK_U_INTERLEAVED.
*
* Note that unlike 16X16_BLOCK_U_INTERLEAVED, the layout does not change
* depending on whether a format is compressed or not.
*/
#define DRM_FORMAT_MOD_ARM_INTERLEAVED_64K \
DRM_FORMAT_MOD_ARM_CODE(DRM_FORMAT_MOD_ARM_TYPE_MISC, 2ULL)
/*
* Allwinner tiled modifier
*