diff options
author | Matthew Brost <matthew.brost@intel.com> | 2022-01-11 08:39:29 -0800 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2022-01-21 16:30:58 -0800 |
commit | cb935c4618bd2ff9058feee4af7088446da6a763 (patch) | |
tree | 3aca2a65f4ca29c124260505626b8b261da0da31 /drivers/gpu/drm/i915/i915_vma_resource.c | |
parent | 5fe0fdd23e3379833f4346b49fa791733c22ed29 (diff) |
drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline
Don't use the interruptable version of the timeline mutex lock in the
error path of eb_pin_timeline as the cleanup must always happen.
v2:
(John Harrison)
- Don't check for interrupt during mutex lock
v3:
(Tvrtko)
- A comment explaining why lock helper isn't used
Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220111163929.14017-1-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_vma_resource.c')
0 files changed, 0 insertions, 0 deletions