drm/i915: Use the i915_vma_flush_writes helper
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jul 2023 13:07:41 +0000 (14:07 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 26 Jul 2023 12:06:34 +0000 (13:06 +0100)
commit766819e57dba78bddae61418e7bfa95f63e746fd
tree36ebe04b6aaaf8963d547fdbccddcdfca4ba24ec
parent306f7a5b0e5794701c330291940a15191edc2f27
drm/i915: Use the i915_vma_flush_writes helper

We can use the existing helper in flush_write_domain() and save some lines
of code.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230721130741.1306563-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_domain.c