From e1d28e011f4a5139cbc778973c63158ed2746716 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 2 Mar 2011 20:13:50 -0500 Subject: kms/cayman: stub out exa support Just fallbacks for now. Signed-off-by: Alex Deucher --- src/evergreen_exa.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/evergreen_exa.c') diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c index 69d29a85..8879d011 100644 --- a/src/evergreen_exa.c +++ b/src/evergreen_exa.c @@ -59,7 +59,8 @@ EVERGREENPrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg) const_config_t ps_const_conf; struct r600_accel_object dst; - //return FALSE; + if (info->ChipFamily == CHIP_FAMILY_CAYMAN) + return FALSE; if (!RADEONCheckBPP(pPix->drawable.bitsPerPixel)) RADEON_FALLBACK(("EVERGREENCheckDatatype failed\n")); @@ -431,7 +432,8 @@ EVERGREENPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, struct radeon_accel_state *accel_state = info->accel_state; struct r600_accel_object src_obj, dst_obj; - //return FALSE; + if (info->ChipFamily == CHIP_FAMILY_CAYMAN) + return FALSE; if (!RADEONCheckBPP(pSrc->drawable.bitsPerPixel)) RADEON_FALLBACK(("EVERGREENCheckDatatype src failed\n")); @@ -1089,7 +1091,8 @@ static Bool EVERGREENPrepareComposite(int op, PicturePtr pSrcPicture, struct r600_accel_object src_obj, mask_obj, dst_obj; float *cbuf; - //return FALSE; + if (info->ChipFamily == CHIP_FAMILY_CAYMAN) + return FALSE; if (pDst->drawable.bitsPerPixel < 8 || pSrc->drawable.bitsPerPixel < 8) return FALSE; @@ -1428,6 +1431,9 @@ 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); @@ -1553,6 +1559,9 @@ EVERGREENDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, } + if (info->ChipFamily == CHIP_FAMILY_CAYMAN) + goto copy; + if (!accel_state->allowHWDFS) goto copy; -- cgit v1.2.3