Skip to content
Commit 06c12ae3 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Jani Nikula
Browse files

drm/i915/perf: ensure we keep a reference on the driver



The i915 perf stream has its own file descriptor and is tied to
reference of the driver. We haven't taken care of keep the driver
alive.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Suggested-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Fixes: eec688e1

 ("drm/i915: Add i915 perf infrastructure")
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190709123351.5645-2-lionel.g.landwerlin@intel.com
(cherry picked from commit a5af1df7

)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent aa56a292
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment