diff options
| author | Chris Wilson <[email protected]> | 2019-03-15 16:39:33 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-03-15 21:10:08 +0000 |
| commit | 9073e5b26743b8b675cc44a9c0c8f8c3d584e1c0 (patch) | |
| tree | a021675cac36501a2a6df97213608b8f9b4299b5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f19d90eed648d48b764abc3799f4cb9de4a4079f (diff) | |
drm/i915: Fix off-by-one in reporting hanging process
ffs() is 1-indexed, but we want to use it as an index into an array, so
use __ffs() instead.
Fixes: eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions