drm/i915: Rearrange i915_scheduler.c
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 May 2019 12:01:00 +0000 (13:01 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 20 May 2019 15:27:07 +0000 (18:27 +0300)
commit06b2b1a40e3a9a1ea80b4c51885d863ca194ef3f
tree0bad079b8a88ebdaae8a3ce783197f4339798a5f
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
drm/i915: Rearrange i915_scheduler.c

To avoid pulling in a forward declaration in the next patch, move the
i915_sched_node handling to after the main dfs of the scheduler.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190513120102.29660-1-chris@chris-wilson.co.uk
(cherry picked from commit 5ae87063c162679a61f2141041d0918cc3045daf)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_scheduler.c