[Intel-gfx] [PATCH] drm/i915: check execbuffer for validity earlier to save on work.
zerooa at googlemail.com
Thu Mar 11 23:20:31 CET 2010
On Thu, Mar 11, 2010 at 09:55:33PM +0000, Chris Wilson wrote:
> On Thu, 11 Mar 2010 21:43:01 +0000, "Owain G. Ainsworth" <zerooa at googlemail.com> wrote:
> > Additionally, check that batch_len is <= the size of the batchbuffer object.
> Please check "start_offset + batch_len <= size" instead.
Ah yes, good catch.
Also it wouldn't compile since I missed half the patch. Send a new one
that should fix both problems.
You don't sew with a fork, so I see no reason to eat with knitting
-- Miss Piggy, on eating Chinese Food
More information about the Intel-gfx