r600g: disable tiling by default again.
authorDave Airlie <airlied@redhat.com>
Thu, 3 Mar 2011 22:42:33 +0000 (08:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Mar 2011 22:47:10 +0000 (08:47 +1000)
we still have a lot of corner cases that aren't working.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_texture.c

index 4832921..df83302 100644 (file)
@@ -415,10 +415,10 @@ struct pipe_resource *r600_texture_create(struct pipe_screen *screen,
         */
        if (force_tiling == -1) {
                struct r600_screen *rscreen = (struct r600_screen *)screen;
-               if (r600_get_minor_version(rscreen->radeon) >= 9)
-                       force_tiling = debug_get_bool_option("R600_TILING", TRUE);
-               else
-                       force_tiling = debug_get_bool_option("R600_TILING", FALSE);
+               /* reenable when 2D tiling is fixed better */
+               /*if (r600_get_minor_version(rscreen->radeon) >= 9)
+                       force_tiling = debug_get_bool_option("R600_TILING", TRUE);*/
+               force_tiling = debug_get_bool_option("R600_TILING", FALSE);
        }
 
        if (force_tiling && permit_hardware_blit(screen, templ)) {