[Intel-gfx] [PATCH 3/3] drm/i915: Don't do MTRR setup if PAT is enabled

Adam Jackson ajax at redhat.com
Tue Mar 13 19:39:45 CET 2012

On 3/13/12 2:02 PM, H. Peter Anvin wrote:

> However, for the overall goal of the patch sequence, I think it is a
> good thing to not use MTRRs when PAT is available.  Part of me is
> wondering if we shouldn't simply turn off the X86_FEATURE_PAT in
> boot_cpu_info when PAT is disabled.

It looks like the only user of cpu_has_pat is the PAT code itself, so 
that should be safe in the sense of not breaking anyone's expectations. 
  And it would avoid needing to export another symbol.  I like.

Will respin to do that, with better descriptions.

- ajax

More information about the Intel-gfx mailing list