| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: Shashank Babu Chinta Venkata <sbchin@codeaurora.org> |
| Date: Mon, 9 Sep 2019 15:54:20 -0700 |
| Subject: ANDROID: include: uapi: drm: add additional QCOM modifiers |
| |
| Add QCOM modifiers to support frame buffer size |
| calculations for linear and compressed tp10 format |
| and a5x tile pixel formats. |
| |
| Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org> |
| Bug: 139653858 |
| Change-Id: If2c5777514130f5f1dfeadf241af06b7adc9429c |
| --- |
| include/uapi/drm/drm_fourcc.h | 24 ++++++++++++++++++++++++ |
| 1 file changed, 24 insertions(+) |
| |
| diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h |
| index 3feeaa3f987a..32b4d1e74b8a 100644 |
| --- a/include/uapi/drm/drm_fourcc.h |
| +++ b/include/uapi/drm/drm_fourcc.h |
| @@ -447,6 +447,30 @@ 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) |
| + |
| +/* |
| + * QTI Tile Format |
| + * |
| + * Refers to a tile variant of the base format. |
| + * Implementation may be platform and base-format specific. |
| + */ |
| +#define DRM_FORMAT_MOD_QCOM_TILE fourcc_mod_code(QCOM, 0x8) |
| + |
| /* Vivante framebuffer modifiers */ |
| |
| /* |