[PATCH] [r600g] Use new kernel interface to wait for fences

2012-01-31 Thread Simon Farnsworth
Instead of busywaiting for the GPU to finish a fence, use the new kernel interface to wait for fence completion. This code needs completion - in particular, we should fall back to busywaiting (using the nokernel function that's in radeon_drm_bo.c) if the kernel doesn't support the new interface.

[PATCH] [r600g] Use new kernel interface to wait for fences

2012-01-31 Thread Simon Farnsworth
Instead of busywaiting for the GPU to finish a fence, use the new kernel interface to wait for fence completion. This code needs completion - in particular, we should fall back to busywaiting (using the nokernel function that's in radeon_drm_bo.c) if the kernel doesn't support the new interface.