diff options
| author | Chris Wilson <[email protected]> | 2019-08-02 00:36:16 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-02 08:08:20 +0100 |
| commit | 51fbd8de87dcf09f3929e5438e4344bea4338990 (patch) | |
| tree | 1f3c7aa0c195b022d092bc3caf9f7a4a7278e34c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 518ea582cb6e74af54c3b9c38b3183fbf1937d11 (diff) | |
drm/i915/pmu: Atomically acquire the gt_pm wakeref
Currently, we only sample if the intel_gt is awake, but we acquire our
own runtime_pm wakeref. Since intel_gt has transitioned to tracking its
own wakeref, we can atomically test and acquire that wakeref instead.
v2: Take engine->wakeref for engine sampling
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions