drm/i915/gem: Make i915_gem_object_flush_write_domain() static
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 14:49:11 +0000 (14:49 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 20:47:25 +0000 (20:47 +0000)
commitd60d3374d343304b61df2e774e2ef4574c604852
tree98bbedbe6fea82e5a00c707aa5974d67a3befbd7
parent8f47c8c3b06fdc0d024c29ae230bdd6522de91be
drm/i915/gem: Make i915_gem_object_flush_write_domain() static

flush_write_domain() is only used within the GEM domain management code,
so move it to i915_gem_domain.c and drop the export.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119144912.12653-5-chris@chris-wilson.co.uk
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_object.h