[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 25 09:16:19 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45018

--- Comment #50 from Michel Dänzer <michel at 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&attachment=60582)
-----------------------------------------------------------------

::: 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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list