diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-03 14:45:16 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-10 15:06:42 +0200 |
commit | 27399eeec28ff33a0c5216a80cf57cbc6ba3c15e (patch) | |
tree | 2161f38161f0e0db295a7e96818acb1240538405 /lib/is_single_threaded.c | |
parent | drm/i915: Unalias obj->phys_handle and obj->userptr (diff) | |
download | linux-27399eeec28ff33a0c5216a80cf57cbc6ba3c15e.tar.xz linux-27399eeec28ff33a0c5216a80cf57cbc6ba3c15e.zip |
drm/i915: Use correct index for backtracking HUNG semaphores
When decoding the semaphores inside hangcheck, we need to use the hw-id
and not the local array index.
Fixes: de1add360522 ("drm/i915: Decouple execbuf uAPI ...")
Testcase: igt/gem_exec_whisper/hang # gen6-7
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161003124516.12388-3-chris@chris-wilson.co.uk
(cherry picked from commit 348b9b1192144e13b779f8f9be301d492bebaff2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions