Instead of busywaiting for the GPU to finish a fence, use the new kernel
interface to wait for fence completion.
If the new kernel interface is unavailable, fall back to busywaiting.
Signed-off-by: Simon Farnsworth
---
This builds on top of the kernel interface I add in Message-Id:
<1328029169-1
On Die, 2012-01-31 at 17:02 +, Simon Farnsworth wrote:
> Instead of busywaiting for the GPU to finish a fence, use the new kernel
> interface to wait for fence completion.
>
> If the new kernel interface is unavailable, fall back to busywaiting.
>
> Signed-off-by: Simon Farnsworth
[...]
>
On Tuesday 31 January 2012, Michel Dänzer wrote:
> On Die, 2012-01-31 at 17:02 +, Simon Farnsworth wrote:
> > Instead of busywaiting for the GPU to finish a fence, use the new kernel
> > interface to wait for fence completion.
> >
> > If the new kernel interface is unavailable, fall back to