summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/drm_memory.c')
-rw-r--r--sys/dev/pci/drm/drm_memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_memory.c b/sys/dev/pci/drm/drm_memory.c
index 19fea19d38d..cdc3781b173 100644
--- a/sys/dev/pci/drm/drm_memory.c
+++ b/sys/dev/pci/drm/drm_memory.c
@@ -94,7 +94,8 @@ drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)
DRM_DEBUG("AGP map\n");
map->bst = dev->bst;
if (bus_space_map(map->bst, map->offset,
- map->size, BUS_SPACE_MAP_LINEAR, &map->bsh)) {
+ map->size, BUS_SPACE_MAP_LINEAR |
+ BUS_SPACE_MAP_PREFETCHABLE, &map->bsh)) {
DRM_ERROR("ioremap fail\n");
return;
}