From: Dave Airlie Date: Fri, 22 Oct 2010 21:45:59 +0000 (+1000) Subject: r600g: not fatal if we can't get tiling info from kernel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39c742fe2a25e925a2c4c42b1e654b72ea319b28;p=mesa.git r600g: not fatal if we can't get tiling info from kernel --- diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c index c9de95ffc02..60c2f51fac0 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: