diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-06 14:48:21 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2020-04-06 20:31:38 +0300 |
commit | 1aaea8476d9f014667d2cb24819f9bcaf3ebb7a4 (patch) | |
tree | c33d1dbaf74806c27a5d413e776ed38ba183f2a5 /tools | |
parent | 721017cf4bd8ea5e5d6295f90ea6d30bab577851 (diff) | |
download | linux-1aaea8476d9f014667d2cb24819f9bcaf3ebb7a4.tar.xz |
drm/i915/gem: Flush all the reloc_gpu batch
__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@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Cc: <stable@vger.kernel.org> # v5.2+
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200406114821.10949-1-chris@chris-wilson.co.uk
(cherry picked from commit 30c88a47f1abd5744908d3681f54dcf823fe2a12)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions