diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-12-21 16:16:13 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-12-22 09:46:52 +1000 |
commit | 880981e49b90568ebb53428e231b43b8c1049ef9 (patch) | |
tree | 5f1f67f27640e06104fa6bcdc8c0ebc8ae19e278 | |
parent | c324acd5032f516b8188da99d2ce05cf8d1294d6 (diff) | |
download | linux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.tar.gz linux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.tar.bz2 linux-stable-880981e49b90568ebb53428e231b43b8c1049ef9.zip |
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: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index f7d7477daffb..499122c8ccc9 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -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); |