drm/ttm: fix caching problem on non-PAT systems.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 19 Feb 2010 21:30:15 +0000 (07:30 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 19 Feb 2010 21:30:15 +0000 (07:30 +1000)
commitf0e2f38befa787f0267419082b33e8ac72269d77
treeed969423484e055c04bdb8b0a49097c8fdd1ca98
parent6a660f06e8120977b25d30ace354c8f9dc3aff2a
drm/ttm: fix caching problem on non-PAT systems.

http://bugzilla.kernel.org/show_bug.cgi?id=15328

This fixes a serious regression on AGP/non-PAT systems, where
pages were ending up in the wrong state and slowing down the
whole system.

[airlied: taken this from the bug as the other option is to revert
the change which caused it].

Tested-by: John W. Linville (in bug).
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_tt.c