[Mesa-dev] [PATCH 3/3] i965: if DEBUG_OUT_OF_BOUND_CHK is up, check that noise padding for each bo used in batchbuffer is correct

Rogovin, Kevin kevin.rogovin at intel.com
Wed Dec 13 06:18:56 UTC 2017


Hi,

> I think you want to do this at the end of submit_batch instead and add a brw_bo_wait_rendering on the batch.  
> Otherwise, your bounds checking is racing with the GPU.

I remember being told that pread has the kernel do the required waiting, however I am not 100% sure of this (which is why I cc'd Joonas to either confirm or deny the assertion). Joonas?
 
-Kevin



More information about the mesa-dev mailing list