[Intel-gfx] [PATCH 3/3] drm/i915: Don't do MTRR setup if PAT is enabled
ajax at redhat.com
Tue Mar 13 11:39:45 PDT 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.
More information about the Intel-gfx