radeon: make vram fixed type
parent
0be629a914
commit
89d44a1023
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue