[PATCH] drm: drm_fourcc: Add uncompressed AFBC modifier
Ben Davis
ben.davis at arm.com
Wed Apr 22 11:17:58 UTC 2020
AFBC has a mode that allows use of AFBC with an uncompressed buffer,
we add a new modifier to support this mode.
Signed-off-by: Ben Davis <ben.davis at arm.com>
---
include/uapi/drm/drm_fourcc.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
index 8bc0b31597d8..97c47baef7fc 100644
--- a/include/uapi/drm/drm_fourcc.h
+++ b/include/uapi/drm/drm_fourcc.h
@@ -780,6 +780,12 @@ extern "C" {
*/
#define AFBC_FORMAT_MOD_BCH (1ULL << 11)
+/* AFBC uncompressed storage mode
+ *
+ * Indicates that the buffer is using uncompressed AFBC mode.
+ */
+#define AFBC_FORMAT_MOD_USM (1ULL << 12)
+
/*
* Arm 16x16 Block U-Interleaved modifier
*
--
2.24.0
More information about the dri-devel
mailing list