Skip to contentSkip to conversation

drm/radeon/kms: disable bo moves using the blitter

PATCH New Alex Deucher 1 participant 1 message Dec 21, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/radeon/evergreen.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/evergreen.c +5 -0
index 01d292c..868bf53 100644
@@ -2890,6 +2890,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);
Signature · 1 line
1.7.1.1