summaryrefslogtreecommitdiff
path: root/src/evergreen_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-05-04 10:44:43 +1000
committerDave Airlie <airlied@redhat.com>2011-05-04 10:45:53 +1000
commita6d2dba6573a3512d550d7e442bf42ea03012bbc (patch)
tree910707eaa013be8ccfe5d267f41113a2b98ba9be /src/evergreen_exa.c
parent859e052af49e68a826b77a9135c7f067dc331a06 (diff)
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 <airlied@redhat.com>
Diffstat (limited to 'src/evergreen_exa.c')
-rw-r--r--src/evergreen_exa.c2
1 files changed, 1 insertions, 1 deletions
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));