[PATCH 6/8] vmwgfx: Make vmw_wait_seqno a bit more readable

2011-09-01 Thread Thomas Hellstrom
Break out on-demand enabling and disabling of fence irqs to make the function more readable. Also make dev_priv->fence_queue_waiters an int instead of an atomic_t since we only manipulate it with dev_priv->hw_mutex held. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- drivers

[PATCH 6/8] vmwgfx: Make vmw_wait_seqno a bit more readable

2011-09-01 Thread Thomas Hellstrom
Break out on-demand enabling and disabling of fence irqs to make the function more readable. Also make dev_priv->fence_queue_waiters an int instead of an atomic_t since we only manipulate it with dev_priv->hw_mutex held. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- drivers