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/evergreen_exa.c | |
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/evergreen_exa.c')
-rw-r--r-- | src/evergreen_exa.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c index 1e829bfd..247ba98c 100644 --- a/src/evergreen_exa.c +++ b/src/evergreen_exa.c @@ -28,8 +28,6 @@ #include "config.h" #endif -#ifdef XF86DRM_MODE - #include "xf86.h" #include "exa.h" @@ -1769,8 +1767,6 @@ EVERGREENAllocShaders(ScrnInfoPtr pScrn, ScreenPtr pScreen) /* 512 bytes per shader for now */ int size = 512 * 9; - accel_state->shaders = NULL; - accel_state->shaders_bo = radeon_bo_open(info->bufmgr, 0, size, 0, RADEON_GEM_DOMAIN_VRAM, 0); if (accel_state->shaders_bo == NULL) { @@ -1897,10 +1893,6 @@ EVERGREENDrawInit(ScreenPtr pScreen) return FALSE; } - /* accel requires kms */ - if (!info->cs) - return FALSE; - info->accel_state->exa->exa_major = EXA_VERSION_MAJOR; info->accel_state->exa->exa_minor = EXA_VERSION_MINOR; @@ -1998,5 +1990,3 @@ EVERGREENDrawInit(ScreenPtr pScreen) return TRUE; } - -#endif |