[PATCH 3/3] drm/radeon: Provide a wait for CS completion interface

2012-02-03 Thread Simon Farnsworth
Provide a mechanism for userspace to wait for kernel fences, and teach the CS ioctl to return enough information to let userspace use this mechanism. This mechanism isn't safe to include as-is, as there is no way for the CS ioctl to indicate that it hasn't given you the information needed to let y

[PATCH 3/3] drm/radeon: Provide a wait for CS completion interface

2012-02-03 Thread Simon Farnsworth
Provide a mechanism for userspace to wait for kernel fences, and teach the CS ioctl to return enough information to let userspace use this mechanism. This mechanism isn't safe to include as-is, as there is no way for the CS ioctl to indicate that it hasn't given you the information needed to let y