diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-24 15:38:47 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-24 15:38:47 +1000 |
commit | ba76acc76e0d0a51a1c488e4d5494a71e155a05b (patch) | |
tree | 814874038ee733b04b4c962b5b88620105ed4d83 /src/radeon_kms.c | |
parent | 3c527d752d3cced219c6113acb932511b16e35fb (diff) |
radeon/kms: drop special r600 indirect flush
This just merges it with the main kms cs flush
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index f149e0cc..cafc3298 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -78,6 +78,12 @@ void radeon_cs_flush_indirect(ScrnInfoPtr pScrn) if (!info->cs->cdw) return; + + if (info->accel_state->vb_ptr) { + radeon_bo_unmap(info->accel_state->vb_bo); + info->accel_state->vb_ptr = NULL; + } + radeon_cs_emit(info->cs); radeon_cs_erase(info->cs); |