From 39c742fe2a25e925a2c4c42b1e654b72ea319b28 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 23 Oct 2010 07:45:59 +1000 Subject: [PATCH] r600g: not fatal if we can't get tiling info from kernel --- src/gallium/winsys/r600/drm/r600_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c index c9de95f..60c2f51 100644 --- a/src/gallium/winsys/r600/drm/r600_drm.c +++ b/src/gallium/winsys/r600/drm/r600_drm.c @@ -65,7 +65,7 @@ static int radeon_drm_get_tiling(struct radeon *radeon) sizeof(struct drm_radeon_info)); if (r) - return r; + return 0; switch ((tiling_config & 0xe) >> 1) { case 0: -- 2.7.4