drm/i915: Set up an MTRR covering the GTT at driver load.
authorEric Anholt <eric@anholt.net>
Fri, 23 Jan 2009 20:57:47 +0000 (12:57 -0800)
committerDave Airlie <airlied@linux.ie>
Sun, 8 Feb 2009 11:37:50 +0000 (21:37 +1000)
commitab657db12d7020629f26f30d287558a8d0e32b41
tree66672f54f4958beae00b98d0bb1f464ff9e08a65
parent725e30ad6601d7fe443d9215d6331758a9d7e0c8
drm/i915: Set up an MTRR covering the GTT at driver load.

We'd love to just be using PAT, but even on chips with PAT it gets disabled
sometimes due to an errata.  It would probably be better to have pat_enabled
exported and only bother with this when !pat_enabled.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c