From ed245fe3e7f67c58ad33ed47224e6fe2b2e602f9 Mon Sep 17 00:00:00 2001 From: Tharaga Balachandran Date: Tue, 21 Jan 2020 18:20:02 -0500 Subject: [PATCH] gralloc: Move WFD usage flag to sanctioned vendor bit CRs-Fixed: 2606686 Change-Id: I82408c0f2747d50d6f7cfce8e665a45897518a76 --- gralloc/gralloc_priv.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gralloc/gralloc_priv.h b/gralloc/gralloc_priv.h index b41d43a8..0c01794b 100644 --- a/gralloc/gralloc_priv.h +++ b/gralloc/gralloc_priv.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2020, The Linux Foundation. All rights reserved. * Not a Contribution * * Copyright (C) 2008 The Android Open Source Project @@ -67,13 +67,9 @@ inline int roundUpToPageSize(int x) { #define GRALLOC_USAGE_PRIVATE_MM_HEAP 0 #define GRALLOC_USAGE_PRIVATE_IOMMU_HEAP 0 -/* TODO(user): move these to use sanctioned vendor bits - * once end to end 64-bit support is available */ /* This flag is set for WFD usecase */ -#define GRALLOC_USAGE_PRIVATE_WFD (UINT32_C(1) << 21) +#define GRALLOC_USAGE_PRIVATE_WFD 1ULL << 51 -/* TODO(user): move these to use sanctioned vendor bits - * once end to end 64-bit support is available */ /* This flag is set for HEIF usecase */ #define GRALLOC_USAGE_PRIVATE_HEIF (UINT32_C(1) << 27)