| .. | .. |
|---|
| 65 | 65 | OUT_RING(ring, upper_32_bits(shadowptr(a6xx_gpu, ring))); |
|---|
| 66 | 66 | } |
|---|
| 67 | 67 | |
|---|
| 68 | | - spin_lock_irqsave(&ring->lock, flags); |
|---|
| 68 | + spin_lock_irqsave(&ring->preempt_lock, flags); |
|---|
| 69 | 69 | |
|---|
| 70 | 70 | /* Copy the shadow to the actual register */ |
|---|
| 71 | 71 | ring->cur = ring->next; |
|---|
| .. | .. |
|---|
| 73 | 73 | /* Make sure to wrap wptr if we need to */ |
|---|
| 74 | 74 | wptr = get_wptr(ring); |
|---|
| 75 | 75 | |
|---|
| 76 | | - spin_unlock_irqrestore(&ring->lock, flags); |
|---|
| 76 | + spin_unlock_irqrestore(&ring->preempt_lock, flags); |
|---|
| 77 | 77 | |
|---|
| 78 | 78 | /* Make sure everything is posted before making a decision */ |
|---|
| 79 | 79 | mb(); |
|---|