aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák2013-04-24 13:39:45 -0500
committerMarek Olšák2013-05-15 12:15:42 -0500
commite5e51c2110ebf6e1edaa14b7567c5d6a79008a90 (patch)
tree3eeeddbe4c9edd4513a3085b4e8ef5e4ae434ded /radeon/radeon_surface.h
parent96e90aabc4c0238de2f2d245899f991a3b996587 (diff)
downloadexternal-libgbm-e5e51c2110ebf6e1edaa14b7567c5d6a79008a90.tar.gz
external-libgbm-e5e51c2110ebf6e1edaa14b7567c5d6a79008a90.tar.xz
external-libgbm-e5e51c2110ebf6e1edaa14b7567c5d6a79008a90.zip
radeon: add RADEON_SURF_FMASK flag which disables 2D->1D tiling transition
Signed-off-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'radeon/radeon_surface.h')
-rw-r--r--radeon/radeon_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/radeon/radeon_surface.h b/radeon/radeon_surface.h
index 2babfd71..bbed56f8 100644
--- a/radeon/radeon_surface.h
+++ b/radeon/radeon_surface.h
@@ -56,6 +56,7 @@
56#define RADEON_SURF_SBUFFER (1 << 18) 56#define RADEON_SURF_SBUFFER (1 << 18)
57#define RADEON_SURF_HAS_SBUFFER_MIPTREE (1 << 19) 57#define RADEON_SURF_HAS_SBUFFER_MIPTREE (1 << 19)
58#define RADEON_SURF_HAS_TILE_MODE_INDEX (1 << 20) 58#define RADEON_SURF_HAS_TILE_MODE_INDEX (1 << 20)
59#define RADEON_SURF_FMASK (1 << 21)
59 60
60#define RADEON_SURF_GET(v, field) (((v) >> RADEON_SURF_ ## field ## _SHIFT) & RADEON_SURF_ ## field ## _MASK) 61#define RADEON_SURF_GET(v, field) (((v) >> RADEON_SURF_ ## field ## _SHIFT) & RADEON_SURF_ ## field ## _MASK)
61#define RADEON_SURF_SET(v, field) (((v) & RADEON_SURF_ ## field ## _MASK) << RADEON_SURF_ ## field ## _SHIFT) 62#define RADEON_SURF_SET(v, field) (((v) & RADEON_SURF_ ## field ## _MASK) << RADEON_SURF_ ## field ## _SHIFT)