drm/i915: Rearrange i915_scheduler.c
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 May 2019 12:01:00 +0000 (13:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 May 2019 12:57:54 +0000 (13:57 +0100)
commit5ae87063c162679a61f2141041d0918cc3045daf
treef0514ce9b6766a3428257e4a95b0db94bc09e686
parentdc0c0bfe112c100b0279de2e4aeda22311626c18
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
drivers/gpu/drm/i915/i915_scheduler.c