Chris Wilson 65f26e978d 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>
2019-03-18 13:59:30 -07:00
..
2019-02-18 13:27:15 +10:00
2019-01-09 10:26:36 +02:00
2019-02-11 13:41:59 +10:00
2018-11-20 12:49:24 +02:00
2019-03-08 09:52:55 -08:00
2019-01-24 13:20:42 +01:00
2019-02-11 13:41:59 +10:00
2019-03-08 08:23:15 -08:00
2018-03-08 10:07:18 +00:00
2019-02-05 09:43:23 -08:00
2019-01-10 05:58:52 +10:00
2019-03-08 08:23:15 -08:00
2019-02-04 14:42:34 +10:00
2019-02-05 09:43:23 -08:00
2019-03-08 08:23:15 -08:00
2019-02-04 14:42:34 +10:00
2019-03-04 12:02:55 +10:00
2019-02-05 09:43:23 -08:00
2019-02-05 09:43:23 -08:00
2019-02-05 09:43:23 -08:00
2019-02-18 13:27:15 +10:00
2019-02-11 13:41:59 +10:00
2019-02-05 09:43:23 -08:00