summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-06-27 04:28:20 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-27 04:28:19 -0700
commit5728dc4956156a8595fbf6caf2b302059bf10475 (patch)
tree519ca9962fede7220ab76a9204eceeec261d1858 /include/uapi
parent0563256535f514a509b36f688aa6bb6fff5c066d (diff)
parent1ce0cb61aac3f2e399184059ea06f39ef8f6ba99 (diff)
Merge "drm/msm/sde: expose 10 bit pixel format capabilities"
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/drm_fourcc.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
index 7f203a5f83cb..b3a2c62da965 100644
--- a/include/uapi/drm/drm_fourcc.h
+++ b/include/uapi/drm/drm_fourcc.h
@@ -241,8 +241,23 @@ extern "C" {
*/
#define DRM_FORMAT_MOD_QCOM_COMPRESSED fourcc_mod_code(QCOM, 1)
+/*
+ * QTI DX Format
+ *
+ * Refers to a DX variant of the base format.
+ * Implementation may be platform and base-format specific.
+ */
+#define DRM_FORMAT_MOD_QCOM_DX fourcc_mod_code(QCOM, 0x2)
+
+/*
+ * QTI Tight Format
+ *
+ * Refers to a tightly packed variant of the base format.
+ * Implementation may be platform and base-format specific.
+ */
+#define DRM_FORMAT_MOD_QCOM_TIGHT fourcc_mod_code(QCOM, 0x4)
+
#if defined(__cplusplus)
}
#endif
-
#endif /* DRM_FOURCC_H */