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
This commit is contained in:
Shashank Babu Chinta Venkata 2019-09-09 15:54:20 -07:00 committed by Alistair Delva
parent d37d6fd8c0
commit ba517fa42c

View File

@ -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 */
/*