projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c153a86
)
radeon: commit ring after emitting the buffer discards
author
Dave Airlie
<airlied@redhat.com>
Sun, 2 Nov 2008 23:50:46 +0000
(09:50 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 2 Nov 2008 23:50:46 +0000
(09:50 +1000)
shared-core/radeon_state.c
patch
|
blob
|
history
diff --git
a/shared-core/radeon_state.c
b/shared-core/radeon_state.c
index
ada9136
..
e0a00f0
100644
(file)
--- a/
shared-core/radeon_state.c
+++ b/
shared-core/radeon_state.c
@@
-1884,10
+1884,11
@@
static int radeon_cp_dispatch_texture(struct drm_device * dev,
OUT_RING((image->width << 16) | height);
RADEON_WAIT_UNTIL_2D_IDLE();
ADVANCE_RING();
- COMMIT_RING();
radeon_cp_discard_buffer(dev, file_priv->master, buf);
+ COMMIT_RING();
+
/* Update the input parameters for next time */
image->y += height;
image->height -= height;