[Nouveau] nv50: conditional rendering
Christoph Bumiller
e0425955 at student.tuwien.ac.at
Tue Jan 5 10:43:27 PST 2010
The libdrm patch adds functions for unrestricted access to
the notifier area, the second adds conditional rendering:
In order to make the GPU wait for an occlusion query to return
its result, I want to use semaphores (following the example),
but they only work if you use a DMA object + a small offset
(using a RELOC on a query buffer didn't work, FIFO interrupt
(1 << 20)).
The only bo we have a DMA object for is the notifier, so I
thought we could just direct queries to that area, since it
isn't used anway.
Now if the state tracker wants to read the result, I can't
do waiting anymore by mapping a bo (since I didn't reloc one),
and thus I have to busy wait on the notifier area, which isn't
necessarily optimal ...
Any suggestions ?
Christoph
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-nv50-support-conditional-rendering.patch
Url: http://lists.freedesktop.org/archives/nouveau/attachments/20100105/70aacafa/attachment-0001.asc
More information about the Nouveau
mailing list