diff options
author | Gurpreet Singh Dhami <gdhami@codeaurora.org> | 2018-03-28 18:00:50 -0400 |
---|---|---|
committer | Ben Fennema <fennema@google.com> | 2018-07-24 12:51:38 -0700 |
commit | 7ff1e32ede1b96293c13dd505932094ac3461106 (patch) | |
tree | 84b2514c7cbbd96ff101c1aec57c2125f5f2447b /msm8909/gralloc | |
parent | b9c6df7d2de3286164b1c98d9616f1f60831c67d (diff) | |
download | display-7ff1e32ede1b96293c13dd505932094ac3461106.tar.gz |
gralloc: Correct the gralloc private usage bit setting.
Change-Id: Ic0f085bfbf516f031776ebb740b3c4a11c7264db
(cherry picked from commit 3d9b98f74f6f6a33773792638224cfde65c67bd4)
Diffstat (limited to 'msm8909/gralloc')
-rw-r--r-- | msm8909/gralloc/gralloc_priv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msm8909/gralloc/gralloc_priv.h b/msm8909/gralloc/gralloc_priv.h index 5e619eb0..4585f84d 100644 --- a/msm8909/gralloc/gralloc_priv.h +++ b/msm8909/gralloc/gralloc_priv.h @@ -65,10 +65,10 @@ inline int roundUpToPageSize(int x) { /* Consumer flags */ /* TODO(user): Fix when producer and consumer flags are actually separated */ /* This flag is set for WFD usecase */ -#define GRALLOC1_CONSUMER_USAGE_PRIVATE_WFD 0x00200000 +#define GRALLOC1_CONSUMER_USAGE_PRIVATE_WFD (UINT32_C(1) << 21) /* This flag is used for SECURE display usecase */ -#define GRALLOC1_CONSUMER_USAGE_PRIVATE_SECURE_DISPLAY 0x02000000 +#define GRALLOC1_CONSUMER_USAGE_PRIVATE_SECURE_DISPLAY (UINT32_C(1) << 31) /* Buffer content should be displayed on a primary display only */ #define GRALLOC1_CONSUMER_USAGE_PRIVATE_INTERNAL_ONLY 0x04000000 |