From: sashiko-bot@kernel.org
To: "James Calligeros" <jcalligeros99@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/fourcc: Add Apple Interchange layout format modifier
Date: Mon, 31 Aug 2026 09:38:24 +0000 [thread overview]
Message-ID: <20260831093825.47B901F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260831-apple-interchange-modifier-v1-1-5d6e27f9f308@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Typo in the UAPI documentation comment for `DRM_FORMAT_MOD_APPLE_INTERCHANGE`: 'Unlinke' instead of 'Unlike'.
--
commit 8d891b8a7418ccf3a3ab6fe8fbc786ff834638af
Author: James Calligeros <jcalligeros99@gmail.com>
drm/fourcc: Add Apple Interchange layout format modifier
This commit introduces the DRM_FORMAT_MOD_APPLE_INTERCHANGE format modifier
for Apple platforms. It describes the format as a compressed framebuffer
layout used for sharing buffers between hardware blocks.
> diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
> index a103fdc0b3a36..aa51c116cd7dc 100644
> --- a/include/uapi/drm/drm_fourcc.h
> +++ b/include/uapi/drm/drm_fourcc.h
> @@ -1626,6 +1626,26 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
> #define DRM_FORMAT_MOD_APPLE_GPU_TILED fourcc_mod_code(APPLE, 1)
> #define DRM_FORMAT_MOD_APPLE_GPU_TILED_COMPRESSED fourcc_mod_code(APPLE, 2)
>
> +/*
> + * Apple Interchange layout
> + *
> + * Apple Interchange is a compressed framebuffer format used exclusively for
> + * sharing buffers between hardware blocks (GPU, display controller, video
> + * codecs) on Apple platforms. It is similar to and uses the same compression
> + * scheme as GPU_TILED_COMPRESSED. There is no known uncompressed variant
> + * of Apple Interchange.
> + *
> + * Unlinke the GPU layouts, tile size is not dependent on bit depth. RGB
[Severity: Low]
This isn't a bug, but is this a typo (Unlinke instead of Unlike) in the newly
added UAPI documentation block?
> + * images and the chroma components of YUV images use 16x16 tiles. The
> + * luma component of YUV images uses 32x32 tiles. Compression tiles
> + * are once again 16x16 with 8 bytes of metadata per compression subtile.
> + *
> + * AGX has limited support for Apple Interchange. It cannot be used for Z/S
> + * buffers or array images, for example. It is intended for scanout buffer
> + * sharing only.
> + */
> +#define DRM_FORMAT_MOD_APPLE_INTERCHANGE fourcc_mod_code(APPLE, 3)
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260831-apple-interchange-modifier-v1-1-5d6e27f9f308@gmail.com?part=1
prev parent reply other threads:[~2026-08-31 9:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 9:24 [PATCH] drm/fourcc: Add Apple Interchange layout format modifier James Calligeros
2026-08-31 9:38 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260831093825.47B901F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jcalligeros99@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox