summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@nx6125b.(none)>2007-06-05 18:23:24 +1000
committerDave Airlie <airlied@nx6125b.(none)>2007-06-05 18:23:24 +1000
commit03ce98aa2814dfd473c70487861aece79007a571 (patch)
treed131cb42e58d9d96fd1d89d9ea817e12bee2b238 /linux-core
parent96705ce6644389722f1605571e0a0dfde5568b8f (diff)
set start to gart_vm_start at least
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/radeon_buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/radeon_buffer.c b/linux-core/radeon_buffer.c
index 6f7a7603..159e87ea 100644
--- a/linux-core/radeon_buffer.c
+++ b/linux-core/radeon_buffer.c
@@ -101,7 +101,7 @@ int radeon_init_mem_type(drm_device_t * dev, uint32_t type,
_DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_NEEDS_IOREMAP;
man->drm_bus_maptype = _DRM_AGP;
} else {
- man->io_offset = 0;
+ man->io_offset = dev_priv->gart_vm_start;
man->io_size = dev_priv->gart_size;
man->io_addr = NULL;
man->flags = _DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_MEMTYPE_MAPPABLE;
@@ -120,6 +120,7 @@ int radeon_move(drm_buffer_object_t * bo,
{
drm_bo_mem_reg_t *old_mem = &bo->mem;
+ DRM_DEBUG("\n");
if (old_mem->mem_type == DRM_BO_MEM_LOCAL) {
return drm_bo_move_memcpy(bo, evict, no_wait, new_mem);
}