From: Alyssa Rosenzweig Date: Mon, 13 Jul 2020 14:07:56 +0000 (-0400) Subject: panfrost: Compact unused BO flag bits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64608b4bcf89ee84c37cd03290c4c276c6016b75;p=mesa.git panfrost: Compact unused BO flag bits Signed-off-by: Alyssa Rosenzweig Suggested-by: Boris Brezillon Reviewed-by: Boris Brezillon Part-of: --- 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 */