drm/i915/perf: store the associated engine of a stream
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 10 Oct 2019 15:05:19 +0000 (16:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 17:44:13 +0000 (18:44 +0100)
commit9a61363a6310dda769b8c7601fc9de8ed81e6bc8
treedbc2d5823a2a12e3ee168426ac589e11a15b3484
parent3a612765f4233993bf5cff302844bd3b6b5a7429
drm/i915/perf: store the associated engine of a stream

We'll use this information later to verify that a client trying to
reconfigure the stream does so on the right engine. For now, we want to
pull the knowledge of which engine we use into a central property.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010150520.26488-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_perf_types.h