drm: Use ioremap_wc in i915_driver instead of ioremap, since we always want WC.
authorEric Anholt <eric@anholt.net>
Tue, 23 Sep 2008 21:50:57 +0000 (14:50 -0700)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:52 +0000 (07:10 +1000)
commitbd88ee4c1b1c8fc8b78a0ba7b6235d230cea0d05
treecd28abc78a2ca03480827bec5952a3d8e2c0ef70
parent28af0a2767412937e8424364a8ece9b230bdbc83
drm: Use ioremap_wc in i915_driver instead of ioremap, since we always want WC.

Fixes failure to map the ringbuffer when PAT tells us we don't get to do
uncached on something that's already mapped WC, or something along those lines.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c