[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
Fri Aug 3 07:39:59 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45018
--- Comment #94 from Jerome Glisse <glisse at freedesktop.org> 2012-08-03 14:39:59 UTC ---
(In reply to comment #88)
> (In reply to comment #86)
> > So, Anthony has put a finger on something.
>
> Yes, I think something like Anthony's patch is needed due to asynchronous GPU
> processing: when the userspace driver assigns virtual address space for a new
> BO, the GPU may not have finished processing command streams using previous BOs
> occupying that same virtual address space.
>
> However, the userspace driver shouldn't wait synchronously for the BO to go
> idle when destroying it but should instead defer destruction (or at least the
> freeing of the virtual address space) until it notices the BO has become idle.
>
>
> > With Anthony's patch, I'm still able to lock the display everytime
>
> And these lockups do not happen when not using virtual address space? Can you
> provide the dmesg output of the GPU reset for such a lockup? Ideally from a
> single piglit test reproducing it.
No, Anthony patch should not be needed. Once userspace call kernel to destroy
bo userspace should be able to reuse va right away even if kernel is delaying
bo destruction. My patch should fix the va issue, note that the patch attached
here have a bug but it should not affect the va thing.
--
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