From 23280fc439163a1971956167217283c4ae70bce3 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Tue, 3 Jul 2012 19:22:20 +0200 Subject: [PATCH] exynos4: added missing gralloc defines for hdmi Change-Id: Ie489452003c30e05f3fdf36a0643963ce4ae0c2e --- exynos4/hal/include/gralloc_priv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/exynos4/hal/include/gralloc_priv.h b/exynos4/hal/include/gralloc_priv.h index 8ffd1614..871a84f4 100644 --- a/exynos4/hal/include/gralloc_priv.h +++ b/exynos4/hal/include/gralloc_priv.h @@ -47,6 +47,17 @@ #define GRALLOC_ARM_UMP_MODULE 1 +enum { + /* SEC Private usage , for HWC to set HDMI S3D format */ + /* HDMI should display this buffer as S3D SBS LR/RL*/ + GRALLOC_USAGE_PRIVATE_SBS_LR = 0x00400000, + GRALLOC_USAGE_PRIVATE_SBS_RL = 0x00200000, + + /* HDMI should display this buffer as 3D TB LR/RL*/ + GRALLOC_USAGE_PRIVATE_TB_LR = 0x00100000, + GRALLOC_USAGE_PRIVATE_TB_RL = 0x00080000, +}; + struct private_handle_t; struct private_module_t {