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

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 13 12:10:17 UTC 2017


Quoting Rogovin, Kevin (2017-12-13 11:59:41)
> Just to make sure of the reason of the original objection to trusting pread blindly: 
> pread will miss writes IF the GEM BO was not listed in the execbuffer2 ioctl. 

Yes. It's just the accidental writes into the read-only bo that you may
miss. Your call, and I have no objections if such limitations are
described in the comments.
-Chris


More information about the mesa-dev mailing list