31 #define VMW_FENCE_WRAP (1 << 24)
41 masked_status = status & dev_priv->
irq_mask;
96 fifo_state = &dev_priv->
fifo;
102 vmw_fifo_idle(dev_priv, seqno))
121 unsigned long timeout)
128 unsigned long end_jiffies =
jiffies + timeout;
132 wait_condition = (fifo_idle) ? &vmw_fifo_idle :
148 if (wait_condition(dev_priv, seqno))
151 DRM_ERROR(
"SVGA device lockup.\n");
156 else if ((++count & 0x0F) == 0) {
166 TASK_UNINTERRUPTIBLE);
168 if (interruptible && signal_pending(
current)) {
174 if (ret == 0 && fifo_idle) {
189 unsigned long irq_flags;
196 spin_unlock_irqrestore(&dev_priv->
irq_lock, irq_flags);
205 unsigned long irq_flags;
210 spin_unlock_irqrestore(&dev_priv->
irq_lock, irq_flags);
220 unsigned long irq_flags;
227 spin_unlock_irqrestore(&dev_priv->
irq_lock, irq_flags);
236 unsigned long irq_flags;
241 spin_unlock_irqrestore(&dev_priv->
irq_lock, irq_flags);
248 bool interruptible,
unsigned long timeout)
263 interruptible, timeout);
267 interruptible, timeout);