diff options
author | [email protected] <[email protected]> | 2017-06-27 23:09:41 +0530 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2017-07-03 12:00:17 +0200 |
commit | 987f8c444aa2c33d98e7030d0c5f0a5325cc84ea (patch) | |
tree | c64e8a3efc301e77dcb9a723401b768614f054a0 /tools/lib/api/debug.c | |
parent | 2c4b851933a6aae3e3a034f23fbcb3ec345d7e51 (diff) |
drm/i915: Hold RPM wakelock while initializing OA buffer
OA buffer initialization involves access to HW registers to set
the OA base, head and tail. Ensure device is awake while setting
these. With this, all oa.ops are covered under RPM and forcewake
wakelock.
Cc: Lionel Landwerlin <[email protected]>
Signed-off-by: Sagar Arun Kamble <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Fixes: d79651522e89c ("drm/i915: Enable i915 perf stream for Haswell OA unit")
Cc: <[email protected]> # v4.11+
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions