From 1b9187c43a0c17600611edb9e299141748e87974 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 28 Sep 2010 22:47:11 +0200 Subject: nouveau: Define buffer object usage flags. Signed-off-by: Francisco Jerez Acked-by: Ben Skeggs --- nouveau/nouveau_bo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nouveau/nouveau_bo.h') diff --git a/nouveau/nouveau_bo.h b/nouveau/nouveau_bo.h index 1e77ab0f..3a1f2d4a 100644 --- a/nouveau/nouveau_bo.h +++ b/nouveau/nouveau_bo.h @@ -39,6 +39,12 @@ #define NOUVEAU_BO_IFLUSH (1 << 15) #define NOUVEAU_BO_DUMMY (1 << 31) +#define NOUVEAU_BO_TILE_LAYOUT_MASK 0x0000ff00 +#define NOUVEAU_BO_TILE_16BPP 0x00000001 +#define NOUVEAU_BO_TILE_32BPP 0x00000002 +#define NOUVEAU_BO_TILE_ZETA 0x00000004 +#define NOUVEAU_BO_TILE_SCANOUT 0x00000008 + struct nouveau_bo { struct nouveau_device *device; uint32_t handle; -- cgit v1.2.3