drm/i915/perf: Simply use stream->ctx
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Wed, 26 Oct 2022 22:20:52 +0000 (22:20 +0000)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 27 Oct 2022 19:36:24 +0000 (12:36 -0700)
commita5a6d92f77ffde188ce3aa4ccec21fac5b00c6e8
tree985821421b06390635d65df94a22f3ad92ec2bd6
parentcceb084905285dcf56912336c9f4f4e7ac334d9f
drm/i915/perf: Simply use stream->ctx

Earlier code used exclusive_stream to check for user passed context.
Simplify this by accessing stream->ctx.

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026222102.5526-7-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/i915_perf.c