All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/fourcc: Add Arm 16x16 block modifier
@ 2019-06-21 10:21 Raymond Smith
  2019-06-21 12:44 ` Brian Starkey
  2019-06-21 15:27   ` Daniel Vetter
  0 siblings, 2 replies; 17+ messages in thread
From: Raymond Smith @ 2019-06-21 10:21 UTC (permalink / raw)
  To: maarten.lankhorst@linux.intel.com, maxime.ripard@bootlin.com,
	sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch
  Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	yuq825@gmail.com, Ayan Halder, Brian Starkey, malidp@foss.arm.com,
	nd, Raymond Smith

Add the DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED modifier to
denote the 16x16 block u-interleaved format used in Arm Utgard and
Midgard GPUs.

Signed-off-by: Raymond Smith <raymond.smith@arm.com>
---
 include/uapi/drm/drm_fourcc.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
index 3feeaa3..8ed7ecf 100644
--- a/include/uapi/drm/drm_fourcc.h
+++ b/include/uapi/drm/drm_fourcc.h
@@ -743,6 +743,16 @@ extern "C" {
 #define AFBC_FORMAT_MOD_BCH     (1ULL << 11)
 
 /*
+ * Arm 16x16 Block U-Interleaved modifier
+ *
+ * This is used by Arm Mali Utgard and Midgard GPUs. It divides the image
+ * into 16x16 pixel blocks. Blocks are stored linearly in order, but pixels
+ * in the block are reordered.
+ */
+#define DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED \
+	fourcc_mod_code(ARM, ((1ULL << 55) | 1))
+
+/*
  * Allwinner tiled modifier
  *
  * This tiling mode is implemented by the VPU found on all Allwinner platforms,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-30 13:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-21 10:21 [PATCH] drm/fourcc: Add Arm 16x16 block modifier Raymond Smith
2019-06-21 12:44 ` Brian Starkey
2019-06-21 15:27 ` Daniel Vetter
2019-06-21 15:27   ` Daniel Vetter
2019-06-23  3:18   ` Qiang Yu
2019-06-23  3:18     ` Qiang Yu
2019-06-24  9:32   ` Brian Starkey
2019-06-24  9:32     ` Brian Starkey
2019-06-24  9:58     ` Daniel Vetter
2019-06-24  9:58       ` Daniel Vetter
2019-06-24 11:23       ` Brian Starkey
2019-06-26 19:30         ` Daniel Vetter
2019-06-26 19:30           ` Daniel Vetter
2019-09-20  2:15           ` Qiang Yu
2019-09-20  2:15             ` Qiang Yu
2019-09-30 13:35             ` Ayan Halder
2019-09-30 13:35               ` Ayan Halder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.