Revert "drm/radeon: Use write-combined CPU mappings of ring buffers with PCIe"
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Aug 2014 16:32:05 +0000 (12:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 16:01:50 +0000 (12:01 -0400)
This reverts commit 1490434f0da63afc6006411c8829c6a7935a4e7e.

Several people have reported regressions with this patch on kabini.

drivers/gpu/drm/radeon/radeon_ring.c

index 0678998dbcb877695e77ef323110be636a8d1f7a..d65607902537f41a7ede21261eb111ddbf257e63 100644 (file)
@@ -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);