[Intel-gfx] [PATCH] drm/i915: Busy-spin wait_for condition in atomic contexts
keithp at keithp.com
Thu Mar 24 17:38:32 PDT 2011
On Thu, 24 Mar 2011 19:55:59 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> - if (W && !in_dbg_master()) msleep(W); \
> + if (W && !(in_dbg_master() || in_atomic())) msleep(W); \
If the MSLEEP macro were ever used, would it need the same fix?
wait_for_atomic is never used, so perhaps the _wait_for macro should
just be renamed wait_for and the W hard-coded to 1.
As a simple fix though,
Reviewed-by: Keith Packard <keithp at keithp.com>
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Intel-gfx