diff options
author | Marek Olšák <[email protected]> | 2014-04-04 20:16:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-10 20:50:17 +0200 |
commit | e3e05c6db96b841fbbaffb020730b2710db211c2 (patch) | |
tree | 56db07ef3e1f5581b7ad9b534b62e1cfdd1c7c2e /src/gallium | |
parent | 38858207a11819a3c68f14b589c0779fb82152ff (diff) |
winsys/radeon: handle squared micro tiling from GEM_GET_TILING
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index 3dfa52589cc..95c20537c71 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -779,6 +779,8 @@ static void radeon_bo_get_tiling(struct pb_buffer *_buf, *macrotiled = RADEON_LAYOUT_LINEAR; if (args.tiling_flags & RADEON_BO_FLAGS_MICRO_TILE) *microtiled = RADEON_LAYOUT_TILED; + else if (args.tiling_flags & RADEON_TILING_MICRO_SQUARE) + *microtiled = RADEON_LAYOUT_SQUARETILED; if (args.tiling_flags & RADEON_BO_FLAGS_MACRO_TILE) *macrotiled = RADEON_LAYOUT_TILED; |