diff options
author | Dave Airlie <[email protected]> | 2010-10-23 07:45:59 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-23 07:45:59 +1000 |
commit | 39c742fe2a25e925a2c4c42b1e654b72ea319b28 (patch) | |
tree | 891b12e43aa0342e9f141aaf03f4ed19ba0a2481 | |
parent | 469907d59738ad32c7a3b95072897432f1e81a0f (diff) |
r600g: not fatal if we can't get tiling info from kernel
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_drm.c | 2 |
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: |