On Mon, 6 Apr 2020 at 12:48, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > > __i915_gem_object_flush_map() takes a byte range, so feed it the written > bytes and do not mistake the u32 index as bytes! > > Fixes: a679f58d0510 ("drm/i915: Flush pages on acquisition") > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> # v5.2+ Yikes. Reviewed-by: Matthew Auld <matthew.william.auld@xxxxxxxxx>