drm/radeon/kms: disable bo moves using the blitter
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 21 Dec 2010 21:16:13 +0000 (16:16 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Dec 2010 23:46:52 +0000 (09:46 +1000)
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>
drivers/gpu/drm/radeon/evergreen.c

index f7d7477daffbb30ba8767da2226a77044f095759..499122c8ccc9330d2be21b9c8ee77643f0dcf2bb 100644 (file)
@@ -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);
This page took 0.028792 seconds and 5 git commands to generate.