diff options
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r-- | drivers/gpu/drm/drm_memory.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index 845081b44f63..0177012845c6 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c | |||
@@ -167,6 +167,11 @@ void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) | |||
167 | } | 167 | } |
168 | EXPORT_SYMBOL(drm_core_ioremap); | 168 | EXPORT_SYMBOL(drm_core_ioremap); |
169 | 169 | ||
170 | void drm_core_ioremap_wc(struct drm_map *map, struct drm_device *dev) | ||
171 | { | ||
172 | map->handle = ioremap_wc(map->offset, map->size); | ||
173 | } | ||
174 | EXPORT_SYMBOL(drm_core_ioremap_wc); | ||
170 | void drm_core_ioremapfree(struct drm_map *map, struct drm_device *dev) | 175 | void drm_core_ioremapfree(struct drm_map *map, struct drm_device *dev) |
171 | { | 176 | { |
172 | if (!map->handle || !map->size) | 177 | if (!map->handle || !map->size) |