drm/i915: move i915_gem_vm_lookup() where it's used
authorJani Nikula <jani.nikula@intel.com>
Thu, 10 Feb 2022 15:45:45 +0000 (17:45 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 14 Feb 2022 10:36:48 +0000 (12:36 +0200)
commitd83d5298ba188a829558ebcc395469e39ffdc2b3
treed515b2a71a0a0ec99efdf8f3322fe812e2e717a2
parent74fc595465a0f8e54a71a9b2fc8552a1ccaaf5e2
drm/i915: move i915_gem_vm_lookup() where it's used

Move the function next to the only user. Arguably it's perhaps not the
best place, but it's much better than having a static inline in a
header.

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a080e401840a8b9d45946ff33fd63c7939a623ae.1644507885.git.jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/i915_drv.h