summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-23 07:45:59 +1000
committerDave Airlie <[email protected]>2010-10-23 07:45:59 +1000
commit39c742fe2a25e925a2c4c42b1e654b72ea319b28 (patch)
tree891b12e43aa0342e9f141aaf03f4ed19ba0a2481 /src/gallium/winsys/r600
parent469907d59738ad32c7a3b95072897432f1e81a0f (diff)
r600g: not fatal if we can't get tiling info from kernel
Diffstat (limited to 'src/gallium/winsys/r600')
-rw-r--r--src/gallium/winsys/r600/drm/r600_drm.c2
1 files changed, 1 insertions, 1 deletions
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: