summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-10-07 08:16:38 +1000
committerDave Airlie <airlied@linux.ie>2007-10-07 08:16:38 +1000
commit89d44a1023543a95b429bf72662b5e2308b0a550 (patch)
treead42bd4aabe260e1236eda366983555d0f25a4d9 /linux-core
parent0be629a914129446b353881f7d92aae707137047 (diff)
radeon: make vram fixed type
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/radeon_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_buffer.c b/linux-core/radeon_buffer.c
index 5b10c24a..3afc17ee 100644
--- a/linux-core/radeon_buffer.c
+++ b/linux-core/radeon_buffer.c
@@ -93,7 +93,7 @@ int radeon_init_mem_type(drm_device_t * dev, uint32_t type,
man->drm_bus_maptype = 0;
break;
case DRM_BO_MEM_VRAM:
- man->flags = _DRM_FLAG_MEMTYPE_MAPPABLE | _DRM_FLAG_NEEDS_IOREMAP;
+ man->flags = _DRM_FLAG_MEMTYPE_FIXED | _DRM_FLAG_MEMTYPE_MAPPABLE | _DRM_FLAG_NEEDS_IOREMAP;
man->io_addr = NULL;
man->drm_bus_maptype = _DRM_FRAME_BUFFER;
man->io_offset = drm_get_resource_start(dev, 0);