diff options
author | Matthew Auld <matthew.auld@intel.com> | 2017-03-27 23:34:59 +0300 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@intel.com> | 2017-03-28 10:31:51 +0300 |
commit | 22f880ca8246c6c80c4f48731c6a7d5d15042f56 (patch) | |
tree | e5c40f8d2c6f5c4892b8dc57112a8ec390cae954 /drivers/gpu/drm/i915/gvt/opregion.c | |
parent | 14292b7ff86f0ee63e9413d470f57456127ee6c2 (diff) | |
download | linux-22f880ca8246c6c80c4f48731c6a7d5d15042f56.tar.xz |
drm/i915/perf: destroy stream on sample_flags mismatch
If we were to ever encounter a sample_flags mismatch we need to ensure
we destroy the stream when we bail.
Fixes: d79651522e89 ("drm/i915: Enable i915 perf stream for Haswell OA unit")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327203459.18398-1-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/opregion.c')
0 files changed, 0 insertions, 0 deletions