summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorAndy Lutomirski2013-05-14 01:58:46 +0200
committerDave Airlie2013-05-31 05:37:36 +0200
commit63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75 (patch)
tree9f1772e41599f71bda18c71cc78480d7576e1b73 /include/drm
parentradeon: Switch to arch_phys_wc_add and add a missing ..._del (diff)
downloadkernel-qcow2-linux-63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75.tar.gz
kernel-qcow2-linux-63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75.tar.xz
kernel-qcow2-linux-63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75.zip
uvesafb: Clean up MTRR code
The old code allowed very strange memory types. Now it works like all the other video drivers: ioremap_wc is used unconditionally, and MTRRs are set if PAT is unavailable (unless MTRR is disabled by a module parameter). UC, WB, and WT support is gone. If there are MTRR conflicts that prevent addition of a WC MTRR, adding a non-conflicting MTRR is pointless; it's better to just turn off MTRR support entirely. As an added bonus, any MTRR added is freed on unload. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions