Browse Source

r300g/r600g: bump cache manager timeouts to 1s

On lightsmark on my r500 this drop the bufmgr allocations of the sysprof.
tags/android-x86-2.2
Dave Airlie 14 years ago
parent
commit
3b5a3fd8d1

+ 1
- 1
src/gallium/winsys/r600/drm/r600_drm.c View File

@@ -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;

+ 1
- 1
src/gallium/winsys/radeon/drm/radeon_r300.c View File

@@ -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;


Loading…
Cancel
Save