drm/i915: stop setting cache_dirty on discrete
authorMatthew Auld <matthew.auld@intel.com>
Wed, 27 Oct 2021 16:18:13 +0000 (17:18 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 2 Nov 2021 09:44:10 +0000 (09:44 +0000)
commit068b1bd0925387ff3a2900726a681ce697e4c1a9
tree640f33f64807927bf62fc8ba1127a69d7381003d
parent2ea6ec76430b87c49f3d82e284722dfbdf137bb9
drm/i915: stop setting cache_dirty on discrete

Should not be needed. Even with non-coherent display, we should be using
device local-memory there, and not system memory.

v2: also add a warning in i915_gem_clflush_object

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> #v1
Link: https://patchwork.freedesktop.org/patch/msgid/20211027161813.3094681-4-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
drivers/gpu/drm/i915/gem/i915_gem_domain.c
drivers/gpu/drm/i915/gem/i915_gem_object.c
drivers/gpu/drm/i915/gem/i915_gem_pages.c