drm/i915: Use intel_engine_lookup_user for probing HAS_BSD etc
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 7 Aug 2019 08:37:01 +0000 (09:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 7 Aug 2019 13:30:59 +0000 (14:30 +0100)
commit9ae06cad821bbeaca9b34dbb9bdb8591a1d9762a
tree6a9ebf4240c2e33d6dbda81285a1fb0729244d83
parent2edda80db3d065b875731de2a846f9e700ccb5ce
drm/i915: Use intel_engine_lookup_user for probing HAS_BSD etc

Use the same mechanism to determine if a backend engine exists for a
uabi mapping as used internally.

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