summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-14 09:15:28 +1000
committerDave Airlie <airlied@redhat.com>2008-08-14 09:15:28 +1000
commit0580785030714f10f624ad329354dc7c688c32ad (patch)
treea4ccc1f32c0783345e78e73be17beaf97ea848b0
parent58df2fa0ecc7e4dac83b4e7a72d70c3ea41c7ed2 (diff)
radeon: FEDORA: patch to make 3D driver work
set gart buffers start
-rw-r--r--linux-core/radeon_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_gem.c b/linux-core/radeon_gem.c
index 4b9b1d38..df4ed4ce 100644
--- a/linux-core/radeon_gem.c
+++ b/linux-core/radeon_gem.c
@@ -1116,7 +1116,7 @@ static int radeon_gem_dma_bufs_init(struct drm_device *dev)
dev_priv->mm.fake_agp_map.size = size;
dev->agp_buffer_map = &dev_priv->mm.fake_agp_map;
-
+ dev_priv->gart_buffers_offset = dev_priv->mm.dma_bufs.bo->offset + dev_priv->gart_vm_start;
return 0;
}