From 3b5a3fd8d1f1171f99b46f99f9140eff8204df4f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 25 Nov 2010 07:29:03 +1000 Subject: [PATCH] r300g/r600g: bump cache manager timeouts to 1s On lightsmark on my r500 this drop the bufmgr allocations of the sysprof. --- src/gallium/winsys/r600/drm/r600_drm.c | 2 +- src/gallium/winsys/radeon/drm/radeon_r300.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2