diff --git a/gralloc/gralloc_priv.h b/gralloc/gralloc_priv.h index 075a6e49..f9338d6c 100644 --- a/gralloc/gralloc_priv.h +++ b/gralloc/gralloc_priv.h @@ -83,6 +83,9 @@ inline int roundUpToPageSize(int x) { /* This flag indicates PI format is being used */ #define GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI 1ULL << 49 +/* This flag is set while CDSP accesses the buffer */ +#define GRALLOC_USAGE_PRIVATE_CDSP 1ULL << 50 + /* Legacy gralloc1 definitions */ /* Some clients may still be using the old flags */ #define GRALLOC1_PRODUCER_USAGE_PRIVATE_ADSP_HEAP GRALLOC_USAGE_PRIVATE_ADSP_HEAP