From 64608b4bcf89ee84c37cd03290c4c276c6016b75 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 13 Jul 2020 10:07:56 -0400 Subject: [PATCH] panfrost: Compact unused BO flag bits Signed-off-by: Alyssa Rosenzweig Suggested-by: Boris Brezillon Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/encoder/pan_bo.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/panfrost/encoder/pan_bo.h b/src/panfrost/encoder/pan_bo.h index 0138beffd28..dfd182290a3 100644 --- a/src/panfrost/encoder/pan_bo.h +++ b/src/panfrost/encoder/pan_bo.h @@ -43,17 +43,13 @@ /* This memory region should not be mapped to the CPU */ #define PAN_BO_INVISIBLE (1 << 2) -/* bit 3 unused */ - /* This region may not be used immediately and will not mmap on allocate * (semantically distinct from INVISIBLE, which cannot never be mmaped) */ -#define PAN_BO_DELAY_MMAP (1 << 4) - -/* bit 5 unused */ +#define PAN_BO_DELAY_MMAP (1 << 3) /* BO is shared across processes (imported or exported) and therefore cannot be * cached locally */ -#define PAN_BO_SHARED (1 << 6) +#define PAN_BO_SHARED (1 << 4) /* GPU access flags */ -- 2.30.2