aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorVinay Belgaumkar <[email protected]>2021-09-07 16:27:04 -0700
committerJani Nikula <[email protected]>2021-09-14 10:57:14 +0300
commit00598d5c69318a1fcb4147878e16754ba9103be6 (patch)
treed7353d1800e3334e2747811a8b370fd867c3d98d /scripts/gdb/linux/proc.py
parent031536665f64aaeb7e7439d96689a4011407abb8 (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] (cherry picked from commit f25e3908b9cd4a3fe819e9bdcdde58f20bacb34c) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions