From d669992e3543ccdc9a9f8c9d8b375f292b4a9315 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 3 May 2013 17:12:04 -0400 Subject: [PATCH] radeonsi: disable 2D tiling on CIK for now Causes GPU hangs. Signed-off-by: Alex Deucher --- src/gallium/drivers/radeonsi/r600_texture.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } -- 2.30.2