On Tue, Nov 29, 2011 at 09:35:10AM +0000, Chris Wilson wrote: > We need to sanity check that the buffer is actually bound into the > mappable range of the GTT prior to reading it back through the GTT with > the CPU. Fortuitously, the only buffers we have been interested in so > far are constrained to be in the mappable region in order to handle > potential relocations. However, this can be relaxed in future and given > that the purpose is to read back following an error we should be extra > careful and not assume everything is safe. > > Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]> For the lazy-gtt binding we need to also check whether the ptes are correct (they should because we pin buffers with relocations as mappable). I'll add that additional paranoia to my series. -- Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
