diff options
| author | Vinay Belgaumkar <[email protected]> | 2021-09-07 16:27:04 -0700 |
|---|---|---|
| committer | John Harrison <[email protected]> | 2021-09-10 13:35:19 -0700 |
| commit | f25e3908b9cd4a3fe819e9bdcdde58f20bacb34c (patch) | |
| tree | 568ebab621ab1031b717a04aca1440810ee9fedd /tools/perf/scripts/python/bin | |
| parent | 74388ca483a416a92cee69dcbeeb793d39199371 (diff) | |
drm/i915: Get PM ref before accessing HW register
Seeing these errors when GT is likely in suspend state-
"RPM wakelock ref not held during HW access"
Ensure GT is awake before trying to access HW registers. Avoid
reading the register if that is not the case.
Signed-off-by: Vinay Belgaumkar <[email protected]>
Fixes: 41e5c17ebfc2 ("drm/i915/guc/slpc: Sysfs hooks for SLPC")
Reviewed-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions