projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758376e
)
radeon: fix ring tail overflow issue since alignment
author
Dave Airlie
<airlied@redhat.com>
Mon, 10 Nov 2008 05:25:27 +0000
(15:25 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 10 Nov 2008 05:25:27 +0000
(15:25 +1000)
shared-core/radeon_cp.c
patch
|
blob
|
history
diff --git
a/shared-core/radeon_cp.c
b/shared-core/radeon_cp.c
index
a087829
..
285bd4d
100644
(file)
--- a/
shared-core/radeon_cp.c
+++ b/
shared-core/radeon_cp.c
@@
-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 );