Matthew Auld 4e5f713ffc 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
(cherry picked from commit 22f880ca8246c6c80c4f48731c6a7d5d15042f56)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2017-03-29 13:52:20 +03:00
..
2017-03-17 14:44:34 -04:00
2017-02-27 18:43:47 -08:00
2017-03-09 15:50:56 -08:00
2017-02-23 12:10:12 +10:00
2017-02-23 12:10:12 +10:00
2017-02-23 12:10:12 +10:00
2017-01-26 10:45:31 +01:00
2017-01-26 10:45:14 +01:00
2016-12-30 11:43:40 +01:00