diff options
author | 2019-03-15 16:39:33 +0000 | |
---|---|---|
committer | 2019-03-18 13:59:30 -0700 | |
commit | 65f26e978d7c55c3c3d04296058d95cf7b6e3f14 (patch) | |
tree | 6900379c0d1934527ded6318bf7c7d3edd423b2c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/i915/bios: assume eDP is present on port A when there is no VBT (diff) | |
download | wireguard-linux-65f26e978d7c55c3c3d04296058d95cf7b6e3f14.tar.xz wireguard-linux-65f26e978d7c55c3c3d04296058d95cf7b6e3f14.zip |
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 <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190315163933.19352-1-chris@chris-wilson.co.uk
(cherry picked from commit 9073e5b26743b8b675cc44a9c0c8f8c3d584e1c0)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions