summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/drm_fourcc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h
index 28ea3a16..553e47ed 100644
--- a/include/linux/drm_fourcc.h
+++ b/include/linux/drm_fourcc.h
@@ -432,6 +432,7 @@ extern "C" {
#define DRM_FORMAT_MOD_VENDOR_ALLWINNER 0x09
#define DRM_FORMAT_MOD_VENDOR_AMLOGIC 0x0a
#define DRM_FORMAT_MOD_VENDOR_MIPI 0x0b
+#define DRM_FORMAT_MOD_VENDOR_MEDIATEK 0x0c
/* add more to the end as needed */
@@ -1356,6 +1357,13 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier)
*/
#define MIPI_FORMAT_MOD_CSI2_PACKED fourcc_mod_code(MIPI, 1)
+/* MediaTek format modifiers */
+
+/*
+ * Bayer packing
+ */
+#define MEDIATEK_FORMAT_MOD_BAYER_PACKED fourcc_mod_code(MEDIATEK, 1)
+
#if defined(__cplusplus)
}
#endif