drm/i915: Tidy intel_execlists_submission_init
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 08:45:21 +0000 (09:45 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 11:47:51 +0000 (12:47 +0100)
commitf6e903db89bce04426e9ec6bc9c3d5e0cce382b9
treeeac27ad04c50878d94ffd69212806cb568d59c28
parentdbc651836372a7b3aaebe2f924db872c5d0804df
drm/i915: Tidy intel_execlists_submission_init

Get to uncore from the engine for better logic organization and use
already available i915 everywhere.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607084521.16845-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c