radeon: fix ring tail overflow issue since alignment
parent
758376e6eb
commit
994f240503
|
@ -2863,6 +2863,8 @@ void radeon_commit_ring(drm_radeon_private_t *dev_priv)
|
|||
|
||||
dev_priv->ring.space -= num_p2 * sizeof(u32);
|
||||
}
|
||||
|
||||
dev_priv->ring.tail &= dev_priv->ring.tail_mask;
|
||||
|
||||
DRM_MEMORYBARRIER();
|
||||
GET_RING_HEAD( dev_priv );
|
||||
|
|
Loading…
Reference in New Issue