Skip to content
Commit 1055f9dd authored by Jesse Barnes's avatar Jesse Barnes Committed by Eric Anholt
Browse files

drm: Use pgprot_writecombine in GEM GTT mapping to get the right bits for !PAT.



Otherwise, the PAGE_CACHE_WC would end up getting us a UC-only mapping, and
the write performance of GTT maps dropped 10x.

Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
[anholt: cleaned up unused var]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 5e118f41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment