radeon: make vram fixed type

main
Dave Airlie 2007-10-07 08:16:38 +10:00
parent 0be629a914
commit 89d44a1023
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ int radeon_init_mem_type(drm_device_t * dev, uint32_t type,
man->drm_bus_maptype = 0; man->drm_bus_maptype = 0;
break; break;
case DRM_BO_MEM_VRAM: 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->io_addr = NULL;
man->drm_bus_maptype = _DRM_FRAME_BUFFER; man->drm_bus_maptype = _DRM_FRAME_BUFFER;
man->io_offset = drm_get_resource_start(dev, 0); man->io_offset = drm_get_resource_start(dev, 0);