drm/i915/gt: Mark up virtual engine uabi_instance
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 12:39:21 +0000 (12:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 14:52:57 +0000 (14:52 +0000)
commitf75fc37b5e70b75f21550410f88e2379648120e2
treee321f38b96557c06312abc552c2fde3d92bc8e54
parentab17e6caa72c2eb67d8a756ab8778d1d87057726
drm/i915/gt: Mark up virtual engine uabi_instance

Be sure to initialise the uabi_instance on the virtual engine to the
special invalid value, just in case we ever peek at it from the uAPI.

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 750e76b4f9f6 ("drm/i915/gt: Move the [class][inst] lookup for engines onto the GT")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: <stable@vger.kernel.org> # v5.4+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106123921.2543886-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c