FROMLIST: drm: add ARM vendor format afbc
[firefly-linux-kernel-4.4.55.git] / include / uapi / drm / drm_fourcc.h
index 0b69a7753558ff27a07748f2d5ca7f3f054b2ba2..79c94b4566d7fe78d8911b0bc1782e6775d9524c 100644 (file)
 #define DRM_FORMAT_MOD_VENDOR_NV      0x03
 #define DRM_FORMAT_MOD_VENDOR_SAMSUNG 0x04
 #define DRM_FORMAT_MOD_VENDOR_QCOM    0x05
+#define DRM_FORMAT_MOD_VENDOR_ARM     0x06
 /* add more to the end as needed */
 
 #define fourcc_mod_code(vendor, val) \
  */
 #define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE      fourcc_mod_code(SAMSUNG, 1)
 
+/*
+ * FIXME: AFBC is arm vendor format, it's a compressed format.
+ *
+ */
+#define DRM_FORMAT_MOD_ARM_AFBC        fourcc_mod_code(ARM, 1)
+
 #endif /* DRM_FOURCC_H */