diff options
author | Wolfram <bugzilla1@malloc.de> | 2010-06-21 18:59:19 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-06-21 18:59:19 -0400 |
commit | 801e83227a59a29eea425ea612083bbf2b536c30 (patch) | |
tree | c9d91fed9309df84d1a93e61d1702a21aa3df68a /src | |
parent | b13d719080b75fc6db4d15d2d323b8fce8b7ad06 (diff) |
r6xx/r7xx: fix ums cmd buffer leak
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=27957
Diffstat (limited to 'src')
-rw-r--r-- | src/r6xx_accel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c index c8ef4516..0edfe8bf 100644 --- a/src/r6xx_accel.c +++ b/src/r6xx_accel.c @@ -1283,6 +1283,8 @@ void r600_vb_no_space(ScrnInfoPtr pScrn, int vert_size) } #endif - r600_finish_op(pScrn, vert_size); - r600_cp_start(pScrn); + if (accel_state->vb_start_op != -1) { + r600_finish_op(pScrn, vert_size); + r600_cp_start(pScrn); + } } |