From a6d2dba6573a3512d550d7e442bf42ea03012bbc Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 4 May 2011 10:44:43 +1000 Subject: radeon: add add hw DFS support for fusion Fusion had a bug setting up the VM on earlier kernels so we need to work around that and only enable accel on a new enough kernel. Signed-off-by: Dave Airlie --- src/evergreen_exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/evergreen_exa.c') diff --git a/src/evergreen_exa.c b/src/evergreen_exa.c index d2579399..69d29a85 100644 --- a/src/evergreen_exa.c +++ b/src/evergreen_exa.c @@ -1553,7 +1553,7 @@ EVERGREENDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, } - if (info->ChipFamily == CHIP_FAMILY_PALM) + if (!accel_state->allowHWDFS) goto copy; scratch_pitch = RADEON_ALIGN(w, drmmode_get_pitch_align(pScrn, (bpp / 8), 0)); -- cgit v1.2.3