summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-12-21 16:16:13 -0500
committerDave Airlie <airlied@redhat.com>2010-12-22 09:46:52 +1000
commit880981e49b90568ebb53428e231b43b8c1049ef9 (patch)
tree5f1f67f27640e06104fa6bcdc8c0ebc8ae19e278
parentc324acd5032f516b8188da99d2ce05cf8d1294d6 (diff)
downloadlinux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.tar.gz
linux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.tar.bz2
linux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.zip
drm/radeon/kms: disable bo moves using the blitter
Blitting from vram to gart is problematic at the moment. Use the CPU for now to avoid buffer corruption. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index f7d7477daffb..499122c8ccc9 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -2782,6 +2782,11 @@ static int evergreen_startup(struct radeon_device *rdev)
rdev->asic->copy = NULL;
dev_warn(rdev->dev, "failed blitter (%d) falling back to memcpy\n", r);
}
+ /* XXX: ontario has problems blitting to gart at the moment */
+ if (rdev->family == CHIP_PALM) {
+ rdev->asic->copy = NULL;
+ rdev->mc.active_vram_size = rdev->mc.visible_vram_size;
+ }
/* allocate wb buffer */
r = radeon_wb_init(rdev);