diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2021-11-20 04:42:01 +0300 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-11-22 12:16:32 +0300 |
commit | 865fbc0f8dc21e17dc3ad9f0f1ebf00a6696b2ca (patch) | |
tree | bf71bc3c71e16992bb70e5365154a1a40c2ef229 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 267c336349db0e624d217f9762bcc1da414f4b0a (diff) | |
download | linux-865fbc0f8dc21e17dc3ad9f0f1ebf00a6696b2ca.tar.xz |
drm/i915/pmu: Avoid with_intel_runtime_pm within spinlock
When guc timestamp ping worker runs it takes the spinlock and calls
with_intel_runtime_pm. Since with_intel_runtime_pm may sleep, move the
spinlock inside __update_guc_busyness_stats.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211120014201.26480-1-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions