diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-15 22:11:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-16 08:31:41 +0000 |
commit | 9e267d286af5c5a67995128df40ca3d1f93277a6 (patch) | |
tree | 031eb1da01d378e5f3bfa8048a2d7e690228f288 /drivers/gpu/drm/i915/icl_dsi.c | |
parent | 0212bdef5a4de344a179f9c267899df5bb268ca7 (diff) |
drm/i915/userptr: Fix error handling of mutex_lock_killable()
mutex_lock_killable() returns -EINTR on failure, not the anticipate bool
return like trylock. (Oh no, not again.)
Fixes: 484d9a844d0d ("drm/i915/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190115221118.13304-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/icl_dsi.c')
0 files changed, 0 insertions, 0 deletions