drm/i915: move cpu_write_needs_clflush
authorMatthew Auld <matthew.auld@intel.com>
Wed, 27 Oct 2021 16:18:12 +0000 (17:18 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 2 Nov 2021 09:44:10 +0000 (09:44 +0000)
commit2ea6ec76430b87c49f3d82e284722dfbdf137bb9
treeab1767e9eda2f6549801be7b2577c6e6ffd7172d
parentc52b3b489783b3b244c8134204d542a4d07030b7
drm/i915: move cpu_write_needs_clflush

Move it next to its partner in crime; gpu_write_needs_clflush. For
better readability lets keep gpu vs cpu at least in the same file.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211027161813.3094681-3-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_domain.c
drivers/gpu/drm/i915/gem/i915_gem_object.h
drivers/gpu/drm/i915/i915_gem.c