summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-11-25 07:29:03 +1000
committerDave Airlie <[email protected]>2010-11-25 09:18:19 +1000
commit3b5a3fd8d1f1171f99b46f99f9140eff8204df4f (patch)
tree080de70c5a3489e5e4f24fc268b5206345790aa1
parent1197393faa285bee0d99409a1c82f575dbcbc708 (diff)
r300g/r600g: bump cache manager timeouts to 1s
On lightsmark on my r500 this drop the bufmgr allocations of the sysprof.
-rw-r--r--src/gallium/winsys/r600/drm/r600_drm.c2
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_r300.c2
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;