drm/i915: Move parking-while-active warning to intel_engines_park()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Oct 2017 11:06:16 +0000 (12:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Nov 2017 15:09:12 +0000 (15:09 +0000)
commit680273879d125d644831b8de42c66576e6290378
treeaff4f1078ae3b9c089f37bf25dd7c28e075e2a6c
parente5330ac1f50b897d245753828e8887f297f69dd0
drm/i915: Move parking-while-active warning to intel_engines_park()

We will want to break this down to give detailed per-engine warnings as
to why we still think we are active as we attempt to park the engines.
For the first step, just move the warning verbatim from the idle-worker
to intel_engines_park().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027110617.31745-3-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_engine_cs.c