Re: [PATCH] drm: add modifiers for MediaTek tiled formats

2024-12-19 Thread Daniel Stone
Hey Eric, On Thu, 19 Dec 2024 at 00:20, Eric Smith wrote: > On 18/12/2024 10.33, Daniel Stone wrote: > >> +/* > >> + * MediaTek Tiled Modifier > >> + * This is a tiled layout using tiles of 16x32 pixels in a row-major > >> layout. > >> + * For chroma planes this becomes 16x16 tiles. > >> + */ >

Re: [PATCH] drm: add modifiers for MediaTek tiled formats

2024-12-18 Thread Eric Smith
On 18/12/2024 10.33, Daniel Stone wrote: +/* MediaTek layouts */ + +/* + * MediaTek Tiled Modifier + * This is a tiled layout using tiles of 16x32 pixels in a row-major layout. + * For chroma planes this becomes 16x16 tiles. + */ +#define DRM_FORMAT_MOD_MTK_16L_32S_TILE fourcc_mod_code(MTK, (1U

Re: [PATCH] drm: add modifiers for MediaTek tiled formats

2024-12-18 Thread Daniel Stone
Hi Eric, On Fri, 13 Dec 2024 at 18:47, wrote: > MediaTek (MTK) uses some unique tiled memory formats > for video decoding. Add these to the uapi drm_fourcc.h > so that we can use them in Mesa, GStreamer, and other > tools/libraries. Thanks for pushing these upstream! > +/* MediaTek layouts */ >

[PATCH] drm: add modifiers for MediaTek tiled formats

2024-12-13 Thread eric . smith
From: "Eric R. Smith" MediaTek (MTK) uses some unique tiled memory formats for video decoding. Add these to the uapi drm_fourcc.h so that we can use them in Mesa, GStreamer, and other tools/libraries. Signed-off-by: Eric R. Smith --- include/uapi/drm/drm_fourcc.h | 31 +