drm/i915/gt: Remove presumption of RCS0
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Jul 2019 12:43:25 +0000 (13:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Jul 2019 07:42:24 +0000 (08:42 +0100)
commit4a5fdc962fc4ce143791496def78c2acc3e51810
treee8fccccad4bbacb4a4d7341a3084cbcf76e75452
parent7c6d6867e9723e9548ed5ae0c6b070652f4d43e3
drm/i915/gt: Remove presumption of RCS0

We now track features correctly instead of probing i915->engine[RCS0]
which is much more flexible and avoids any nasty surprises.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190705124325.14270-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c