summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2013-05-13 23:58:42 +0000
committerDave Airlie <airlied@redhat.com>2013-05-31 13:37:06 +1000
commitff47eaf24d01b5753e4964b10c606e0d711b143e (patch)
tree4a69ba395f6aaa743ce6cc12d5fe9a09286eae2c /drivers/char/agp
parent247d36d75128ba1f63702e0e6185d9a7a23ee5cb (diff)
downloadblackbird-op-linux-ff47eaf24d01b5753e4964b10c606e0d711b143e.tar.gz
blackbird-op-linux-ff47eaf24d01b5753e4964b10c606e0d711b143e.zip
drm: Update drm_addmap and drm_mmap to use PAT WC instead of MTRRs
Previously, DRM_FRAME_BUFFER mappings, as well as DRM_REGISTERS mappings with DRM_WRITE_COMBINING set, resulted in an unconditional MTRR being added but the actual mappings being created as UC-. Now these mappings have the MTRR added only if needed, but they will be mapped with pgprot_writecombine. The non-WC DRM_REGISTERS case now uses pgprot_noncached instead of hardcoding the bit twiddling. The DRM_AGP case is unchanged for now. [airlied: fix ppc build] 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 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud