diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-08-25 18:37:15 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-25 18:37:15 -0400 |
commit | bba51187055932ecd466f5f817428d6c773747b9 (patch) | |
tree | 6fdb433d2b816e86219b3605c9a0a1df82c1e48b /src/r600_textured_videofuncs.c | |
parent | 599adfc1f5e6d708be7ad30f4871de3046775727 (diff) |
R6xx/r7xx: unmap vb bo when done
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r-- | src/r600_textured_videofuncs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c index 631a40cc..10d6f4f8 100644 --- a/src/r600_textured_videofuncs.c +++ b/src/r600_textured_videofuncs.c @@ -65,6 +65,11 @@ R600DoneTexturedVideo(ScrnInfoPtr pScrn) CLEAR (draw_conf); CLEAR (vtx_res); +#ifdef XF86DRM_MODE + if (info->cs) + radeon_bo_unmap(accel_state->vb_bo); +#endif + if (accel_state->vb_index == 0) { R600IBDiscard(pScrn, accel_state->ib); r600_vb_discard(pScrn); |