https://bugs.freedesktop.org/show_bug.cgi?id=45018
--- Comment #50 from Michel Dänzer michel@daenzer.net 2012-04-25 09:16:19 PDT --- Comment on attachment 60582 --> https://bugs.freedesktop.org/attachment.cgi?id=60582 possible fix
Review of attachment 60582: --> (https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=45018&att...) -----------------------------------------------------------------
::: src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ +221,4 @@
pipe_mutex_unlock(mgr->bo_va_mutex); return offset; }
if (waste < hole->size && (hole->size - waste) >= size) {
AFAICT the 'if (offset >= (hole->offset + hole->size))' test further up is a roundabout way of saying 'if (waste >= hole->size)', so I'm afraid this won't have any effect.