]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c95fb0d303b5e43015cd1c2f21d72cae357af0c
tree66672f54f4958beae00b98d0bb1f464ff9e08a65
parentb157015a7a342c73bc604987739f141b8e33be0d
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