[Intel-gfx] [PATCH] drm/i915: Ensure that while(INREG()) are bounded.
Eric Anholt
eric at anholt.net
Fri Aug 6 23:23:37 CEST 2010
On Fri, 6 Aug 2010 16:11:54 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Add a new macro, wait_for, to simplify the act of waiting on a register
> to change state. wait_for() takes three arguments, the condition to
> inspect on every loop, the maximum amount of time to wait and whether to
> yield the cpu for a length of time after each check.
These failures seem DRM_ERROR()-worthy. What do you think? But I do
like the looks of this patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100806/fbbcd6e4/attachment.sig>
More information about the Intel-gfx
mailing list