summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 10:05:03 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 15:41:52 +0100
commit18d5ae3bd9075ac1a2ee21b071ac133e2e634b62 (patch)
tree82e60e279e52956df3c4d4f124c8d489d2ed106d /src/radeon_dri2.h
parent248e912c487636d7352cfad43c03fc9f19fc2215 (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_dri2.h')
-rw-r--r--src/radeon_dri2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_dri2.h b/src/radeon_dri2.h
index 79952862..0dd2a33c 100644
--- a/src/radeon_dri2.h
+++ b/src/radeon_dri2.h
@@ -28,16 +28,15 @@
#define RADEON_DRI2_H
struct radeon_dri2 {
+ drmVersionPtr pKernelDRMVersion;
int drm_fd;
Bool enabled;
char *device_name;
};
-#ifdef RADEON_DRI2
#include "dri2.h"
Bool radeon_dri2_screen_init(ScreenPtr pScreen);
void radeon_dri2_close_screen(ScreenPtr pScreen);
-#endif
int drmmode_get_crtc_id(xf86CrtcPtr crtc);
xf86CrtcPtr radeon_covering_crtc(ScrnInfoPtr pScrn, BoxPtr box,