Skip to content

Commit

Permalink
drm/i915: fix WC mapping in non-GEM i915 code.
Browse files Browse the repository at this point in the history
[airlied - taken from mailing list posting]

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Jesse Barnes authored and Dave Airlie committed Feb 23, 2009
1 parent bab2d1f commit 6fb8858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static int i915_initialize(struct drm_device * dev, drm_i915_init_t * init)
dev_priv->ring.map.flags = 0;
dev_priv->ring.map.mtrr = 0;

drm_core_ioremap(&dev_priv->ring.map, dev);
drm_core_ioremap_wc(&dev_priv->ring.map, dev);

if (dev_priv->ring.map.handle == NULL) {
i915_dma_cleanup(dev);
Expand Down

0 comments on commit 6fb8858

Please sign in to comment.