Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 880981e4 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

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: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent c324acd5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);