drm/i915/perf: pass stream to vfuncs when possible
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 23 Oct 2018 10:07:06 +0000 (11:07 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 23 Oct 2018 14:09:24 +0000 (15:09 +0100)
commit5728de2f4f6abc37a2067f2a7edc41c8678574d8
treeb858ea895ab008dfc10cd8f5fe8819afb23f86ee
parent784b1a8435da458f10f3837477ae0a18b579d278
drm/i915/perf: pass stream to vfuncs when possible

We want to use some of the properties of the perf stream to program
the hardware in a later commit.

v2: Pass only perf stream as argument (Matthew)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181023100707.31738-4-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_perf.c