summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-08-25 17:29:42 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-08-25 17:29:42 -0400
commit65852de027989c105246fa4e4eed432f29525a22 (patch)
treebed86cae112256d777ab3b5b91153f7d983b7bb0
parent69ec7a35e2a0a3d802ec093a6aab2d7ed2cc88be (diff)
r6xx/r7xx EXA: WIP
-rw-r--r--src/r600_exa.c5
-rw-r--r--src/radeon_kms.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c
index 03d3d8c2..b6a1a15b 100644
--- a/src/r600_exa.c
+++ b/src/r600_exa.c
@@ -128,6 +128,8 @@ R600PrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg)
uint32_t a, r, g, b;
float ps_alu_consts[4];
+ //return FALSE;
+
if (pPix->drawable.bitsPerPixel == 24)
RADEON_FALLBACK(("24bpp unsupported\n"));
if (!R600CheckBPP(pPix->drawable.bitsPerPixel))
@@ -713,6 +715,8 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst,
RADEONInfoPtr info = RADEONPTR(pScrn);
struct radeon_accel_state *accel_state = info->accel_state;
+ return FALSE;
+
if (pSrc->drawable.bitsPerPixel == 24)
RADEON_FALLBACK(("24bpp unsupported\n"));
if (pDst->drawable.bitsPerPixel == 24)
@@ -1575,6 +1579,7 @@ static Bool R600PrepareComposite(int op, PicturePtr pSrcPicture,
cb_config_t cb_conf;
shader_config_t vs_conf, ps_conf;
+ return FALSE;
/* return FALSE; */
if (pDst->drawable.bitsPerPixel < 8 || pSrc->drawable.bitsPerPixel < 8)
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index cd398c6e..faa0cfdf 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -180,7 +180,7 @@ static Bool RADEONPreInitAccel_KMS(ScrnInfoPtr pScrn)
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Unable to allocate accel_state rec!\n");
return FALSE;
}
-
+#if 0
if (info->ChipFamily >= CHIP_FAMILY_R600) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Using shadowfb for KMS on R600+\n");
@@ -189,7 +189,7 @@ static Bool RADEONPreInitAccel_KMS(ScrnInfoPtr pScrn)
info->r600_shadow_fb = FALSE;
return TRUE;
}
-
+#endif
if ((info->ChipFamily == CHIP_FAMILY_RS100) ||
(info->ChipFamily == CHIP_FAMILY_RS200) ||