gallium/radeon: Merge holes when freeing virtual address space.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 26 Apr 2012 13:26:01 +0000 (15:26 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 16 Aug 2012 07:39:36 +0000 (09:39 +0200)
commit206d07625c9fd69c7d00a8722bd7390c5215bfe2
treebe9c3172a2c4b1467e2d21e41646f318dbee808e
parentc25968f3e2a1b5144a2e88d15b95e5b477a55f5d
gallium/radeon: Merge holes when freeing virtual address space.

Otherwise we'll likely end up with an ever increasing amount of ever smaller
holes.

Requires keeping the list ordered wrt offsets.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c