summaryrefslogtreecommitdiff
path: root/src/evergreen_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-05-18 14:49:17 +1000
committerDave Airlie <airlied@redhat.com>2011-05-24 15:56:18 +1000
commit82cb33c3f0e1ba802d7a94f3159b3c5c86cd4043 (patch)
tree71913a4a274e09ea68bbadffc82b3ddc7a666404 /src/evergreen_exa.c
parentb77d374b0d11f48c33cfffdb4157c4ec4b05ea15 (diff)
cayman: enable all accel
Diffstat (limited to 'src/evergreen_exa.c')
-rw-r--r--src/evergreen_exa.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c
index 9a166b07..5752d0eb 100644
--- a/src/evergreen_exa.c
+++ b/src/evergreen_exa.c
@@ -90,8 +90,6 @@ EVERGREENPrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg)
struct r600_accel_object dst;
int scissor_height;
- if (info->ChipFamily == CHIP_FAMILY_CAYMAN)
- return FALSE;
if (!RADEONCheckBPP(pPix->drawable.bitsPerPixel))
RADEON_FALLBACK(("EVERGREENCheckDatatype failed\n"));
@@ -466,9 +464,6 @@ EVERGREENPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst,
struct radeon_accel_state *accel_state = info->accel_state;
struct r600_accel_object src_obj, dst_obj;
- if (info->ChipFamily == CHIP_FAMILY_CAYMAN)
- return FALSE;
-
if (!RADEONCheckBPP(pSrc->drawable.bitsPerPixel))
RADEON_FALLBACK(("EVERGREENCheckDatatype src failed\n"));
if (!RADEONCheckBPP(pDst->drawable.bitsPerPixel))
@@ -1126,9 +1121,6 @@ static Bool EVERGREENPrepareComposite(int op, PicturePtr pSrcPicture,
float *cbuf;
int scissor_height;
- if (info->ChipFamily == CHIP_FAMILY_CAYMAN)
- return FALSE;
-
if (pDst->drawable.bitsPerPixel < 8 || pSrc->drawable.bitsPerPixel < 8)
return FALSE;
@@ -1467,9 +1459,6 @@ EVERGREENUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h,
}
}
- if (info->ChipFamily == CHIP_FAMILY_CAYMAN)
- goto copy;
-
scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0));
height = RADEON_ALIGN(h, drmmode_get_height_align(pScrn, 0));
base_align = drmmode_get_base_align(pScrn, (bpp / 8), 0);
@@ -1595,9 +1584,6 @@ EVERGREENDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w,
}
- if (info->ChipFamily == CHIP_FAMILY_CAYMAN)
- goto copy;
-
if (!accel_state->allowHWDFS)
goto copy;