commit | 1055f9ddad093f54dfd708a0f976582034d4ce1a | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Mar 31 18:22:31 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu Apr 02 14:28:32 2009 -0700 |
tree | 0e13654a1cc5cbd204b7b2cbaebd48b11821d507 | |
parent | 5e118f4139feafe97e913df67b1f7c1e5083e535 [diff] |
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: Jesse Barnes <jbarnes@virtuousgeek.org> [anholt: cleaned up unused var] Signed-off-by: Eric Anholt <eric@anholt.net>