<div class="gmail_quote">On Tue, Nov 29, 2011 at 17:02, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

As the buffer is not necessarily accessible through the GTT at the time<br>
of a GPU hang, and capturing some of its contents is far more valuable<br>
than skipping it, provide a clflushed fallback read path. We still<br>
prefer to read through the GTT as that is more consistent with the GPU<br>
access of the same buffer. So example it will demonstrate any errorneous<br>
tiling or swizzling of the command buffer as seen by the GPU.<br>
<br>
This becomes necessary with use of CPU relocations and lazy GTT binding,<br>
but could potentially happen anyway as a result of a pathological error.<br>
<br>
Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>><br>
Cc: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>><br></blockquote><div><br>Reviewed-by: Eugeni Dodonov <<a href="mailto:eugeni.dodonov@intel.com">eugeni.dodonov@intel.com</a>> <br>

</div></div><br>-- <br>Eugeni Dodonov<a href="http://eugeni.dodonov.net/" target="_blank"><br></a><br>