commit | 4f73a96bd76914009682432842ac04a32ab9115b | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Thu Sep 01 20:18:43 2011 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Tue Sep 06 11:48:43 2011 +0100 |
tree | 65264c569d796be5388008b8303738b642fd9c83 | |
parent | 6bcd8d3c782b7b2c98c8f414a6bb43cf6b84e53c [diff] |
vmwgfx: Make vmw_wait_seqno a bit more readable 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 <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>