The CPU cache must be flushed _before_ we start modifying the kernel map ptes,
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Sat, 21 Oct 2006 12:17:51 +0000 (14:17 +0200)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Sat, 21 Oct 2006 12:17:51 +0000 (14:17 +0200)
commit9ed4656799043f24f4d64615ebb8128bedc99799
treef05a24b66be6ba71bee752b5c63630dc4f1f5aae
parent9321592149c031694c459bb05e7a31d1197fe5cb
The CPU cache must be flushed _before_ we start modifying the kernel map ptes,
otherwise data will be missing, which becomes apparent when the kernel evicts
batch buffers which are likely to be written into in the evicted state,
and then rebound to the AGP aperture.
This means we cannot rely on the AGP module to flush the
cache for us.
linux-core/drm_agpsupport.c
linux-core/drm_ttm.c