summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2013-05-03 17:12:04 -0400
committerAlex Deucher <[email protected]>2013-06-28 15:17:10 -0400
commitd669992e3543ccdc9a9f8c9d8b375f292b4a9315 (patch)
tree87e13854f921336344bae3190422824509a16413 /src/gallium
parent1357624abc19dfc7b2086b2fd6729826ec229a65 (diff)
radeonsi: disable 2D tiling on CIK for now
Causes GPU hangs. Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/r600_texture.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
index 8992f9a1fa2..282d4f24253 100644
--- a/src/gallium/drivers/radeonsi/r600_texture.c
+++ b/src/gallium/drivers/radeonsi/r600_texture.c
@@ -532,7 +532,10 @@ struct pipe_resource *si_texture_create(struct pipe_screen *screen,
if (util_format_is_compressed(templ->format)) {
array_mode = V_009910_ARRAY_1D_TILED_THIN1;
} else {
- array_mode = V_009910_ARRAY_2D_TILED_THIN1;
+ if (rscreen->chip_class >= CIK)
+ array_mode = V_009910_ARRAY_1D_TILED_THIN1; /* XXX fix me */
+ else
+ array_mode = V_009910_ARRAY_2D_TILED_THIN1;
}
}