drm/i915/dmabuf: drop the flush on discrete
authorMatthew Auld <matthew.auld@intel.com>
Fri, 29 Oct 2021 12:21:37 +0000 (13:21 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 2 Nov 2021 09:44:49 +0000 (09:44 +0000)
commit57d9898bee4fa8afcde83c158b441cef634ee47c
treeaa481f893604c135817912727e6dc5877085a84d
parent068b1bd0925387ff3a2900726a681ce697e4c1a9
drm/i915/dmabuf: drop the flush on discrete

We were overzealous here; even though discrete is non-LLC, it should
still be always coherent.

v2(Thomas & Daniel)
  - Be extra cautious and limit to DG1
  - Add some more commentary

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211029122137.3484203-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c