diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-15 10:05:03 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-15 15:41:52 +0100 |
commit | 18d5ae3bd9075ac1a2ee21b071ac133e2e634b62 (patch) | |
tree | 82e60e279e52956df3c4d4f124c8d489d2ed106d /src/radeon_vbo.h | |
parent | 248e912c487636d7352cfad43c03fc9f19fc2215 (diff) |
radeon: drop all UMS/DRI1/XAA/overlay support.
This overhauls the radeon driver and removes all the old UMS-only code,
it drops all the UMS, DRI1, XAA, overlay Xv, video capture, tv tuners
There are probably a lot more cleanups that will fall out of this afterwards.
So far this is compile/build tested.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_vbo.h')
-rw-r--r-- | src/radeon_vbo.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/radeon_vbo.h b/src/radeon_vbo.h index 583f2626..312e03b3 100644 --- a/src/radeon_vbo.h +++ b/src/radeon_vbo.h @@ -24,9 +24,6 @@ radeon_vbo_space(ScrnInfoPtr pScrn, struct radeon_vbo_object *vbo, int vert_size) { -#if defined(XF86DRM_MODE) - RADEONInfoPtr info = RADEONPTR(pScrn); -#endif void *vb; /* we've ran out of space in the vertex buffer - need to get a @@ -34,12 +31,7 @@ radeon_vbo_space(ScrnInfoPtr pScrn, radeon_vbo_check(pScrn, vbo, vert_size); vbo->vb_op_vert_size = vert_size; -#if defined(XF86DRM_MODE) - if (info->cs) - vb = (pointer)((char *)vbo->vb_bo->ptr + vbo->vb_offset); - else -#endif - vb = (pointer)((char *)vbo->vb_ptr + vbo->vb_offset); + vb = (pointer)((char *)vbo->vb_bo->ptr + vbo->vb_offset); return vb; } |