Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb9944f authored by Shashank Babu Chinta Venkata's avatar Shashank Babu Chinta Venkata Committed by Alistair Delva
Browse files

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: default avatarShashank Babu Chinta Venkata <sbchin@codeaurora.org>
Bug: 139653858
Change-Id: If2c5777514130f5f1dfeadf241af06b7adc9429c
parent 23204100
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -312,6 +312,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 */

/*