]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd5c967af904aa6f88bcd60eef0932e87100a006
tree98bbedbe6fea82e5a00c707aa5974d67a3befbd7
parentbc0d9fa5c672eb69ea3c7c4793eaaf41552c0899
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