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

Commit b738ca5d authored by Alex Deucher's avatar Alex Deucher
Browse files

Revert "drm/radeon: Use write-combined CPU mappings of ring buffers with PCIe"

This reverts commit 1490434f.

Several people have reported regressions with this patch on kabini.
parent 52da51f0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -404,9 +404,7 @@ int radeon_ring_init(struct radeon_device *rdev, struct radeon_ring *ring, unsig
	/* Allocate ring buffer */
	if (ring->ring_obj == NULL) {
		r = radeon_bo_create(rdev, ring->ring_size, PAGE_SIZE, true,
				     RADEON_GEM_DOMAIN_GTT,
				     (rdev->flags & RADEON_IS_PCIE) ?
				     RADEON_GEM_GTT_WC : 0,
				     RADEON_GEM_DOMAIN_GTT, 0,
				     NULL, &ring->ring_obj);
		if (r) {
			dev_err(rdev->dev, "(%d) ring create failed\n", r);