]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Clear read/write domains for GPU clear
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jun 2019 14:16:30 +0000 (15:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jun 2019 17:20:20 +0000 (18:20 +0100)
commit716b08ef5b645afb6da97e18c31a6ad2b25999ec
treeab0756a3a15785283b605bb00696c6d780fb4634
parentf9e2b9fd7282088f001d9bdfe9160dc7286eb23a
drm/i915/gem: Clear read/write domains for GPU clear

Update the domains for the write via the GPU so that we do not
shortcircuit any set-domain clflush afterwards.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110978
Fixes: 069c0b7b7233 ("drm/i915/blt: Remove recursive vma->lock")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190624141630.11015-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c