From: Dave Airlie Date: Wed, 24 Nov 2010 21:29:03 +0000 (+1000) Subject: r300g/r600g: bump cache manager timeouts to 1s X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b5a3fd8d1f1171f99b46f99f9140eff8204df4f;p=mesa.git r300g/r600g: bump cache manager timeouts to 1s On lightsmark on my r500 this drop the bufmgr allocations of the sysprof. --- diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c index 8b1d88aed7d..e83cc44290a 100644 --- a/src/gallium/winsys/r600/drm/r600_drm.c +++ b/src/gallium/winsys/r600/drm/r600_drm.c @@ -230,7 +230,7 @@ struct radeon *radeon_new(int fd, unsigned device) radeon->kman = radeon_bo_pbmgr_create(radeon); if (!radeon->kman) return NULL; - radeon->cman = pb_cache_manager_create(radeon->kman, 100000); + radeon->cman = pb_cache_manager_create(radeon->kman, 1000000); if (!radeon->cman) return NULL; return radeon; diff --git a/src/gallium/winsys/radeon/drm/radeon_r300.c b/src/gallium/winsys/radeon/drm/radeon_r300.c index 420522f5c1f..3b3e2c2f281 100644 --- a/src/gallium/winsys/radeon/drm/radeon_r300.c +++ b/src/gallium/winsys/radeon/drm/radeon_r300.c @@ -278,7 +278,7 @@ boolean radeon_setup_winsys(int fd, struct radeon_libdrm_winsys* ws) if (!ws->kman) goto fail; - ws->cman = pb_cache_manager_create(ws->kman, 100000); + ws->cman = pb_cache_manager_create(ws->kman, 1000000); if (!ws->cman) goto fail;