diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-06 14:45:07 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-06 15:11:15 +1000 |
commit | d78d50591851d14543f0935d051a59ef29751bbc (patch) | |
tree | 973a85b4d6df847813a50e9dcb4f2fe94e689bc7 /src/radeon_accel.c | |
parent | e1200cb89218930d01330ba0114e013438655cce (diff) |
radeon: port to new space checking in libdrm interface
This uses a new libdrm interface which shares code with mesa.
It also fixes the bo to flush when full instead of never flushing.
It survives gtkperf -a here which the driver didn't before now
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 79052a15..02905dd1 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -658,18 +658,6 @@ int RADEONCPStop(ScrnInfoPtr pScrn, RADEONInfoPtr info) #define RADEON_IB_RESERVE (16 * sizeof(uint32_t)) -void radeon_cs_flush_indirect(ScrnInfoPtr pScrn) -{ -#ifdef XF86DRM_MODE - RADEONInfoPtr info = RADEONPTR(pScrn); - - if (!info->cs->cdw) - return; - radeon_cs_emit(info->cs); - radeon_cs_erase(info->cs); -#endif -} - /* Get an indirect buffer for the CP 2D acceleration commands */ drmBufPtr RADEONCPGetBuffer(ScrnInfoPtr pScrn) { |