drm/i915: Don't do MTRR setup if PAT is enabled
authorAdam Jackson <ajax@redhat.com>
Wed, 14 Mar 2012 15:22:11 +0000 (11:22 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Mar 2012 17:48:10 +0000 (18:48 +0100)
commit9e984bc1dffd405138ff22356188b6a1677c64c8
tree0c331dcac92c8f6bc21744b849ea83faf6bfd35d
parente2b665c48099d9c2229a187467761da4882eb066
drm/i915: Don't do MTRR setup if PAT is enabled

Some newer BIOSes are shipping with all MTRRs already populated.  These
BIOSes are all on machines with sufficiently new CPUs that the
referenced errata doesn't apply anyway, so just don't try to claim the
MTRR.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41648
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c