diff options
author | sagar.a.kamble@intel.com <sagar.a.kamble@intel.com> | 2017-06-27 23:09:41 +0530 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-07-03 16:13:02 +0300 |
commit | 04941829b0049d2446c7042ab9686dd057d809a6 (patch) | |
tree | bdad0553b226fc76e2d374d368c177e2afeb4801 /net/sunrpc | |
parent | c379b897ba1a7f786419e8c36a3438ce856f016a (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 <lionel.g.landwerlin@intel.com>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1498585181-23048-1-git-send-email-sagar.a.kamble@intel.com
Fixes: d79651522e89c ("drm/i915: Enable i915 perf stream for Haswell OA unit")
Cc: <stable@vger.kernel.org> # v4.11+
(cherry picked from commit 987f8c444aa2c33d98e7030d0c5f0a5325cc84ea)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions