Re: [Intel-gfx] [PATCH] drm/i915: Check return intel_context_timeline_lock of in eb_pin_timeline

2022-01-04 Thread Matthew Brost
On Tue, Jan 04, 2022 at 03:05:03PM -0800, John Harrison wrote: > On 1/4/2022 09:31, Matthew Brost wrote: > > intel_context_timeline_lock can return can error if interrupted by a > > user when trying to lock the timeline mutex. Check the return value of > > intel_context_timeline_lock in

Re: [Intel-gfx] [PATCH] drm/i915: Check return intel_context_timeline_lock of in eb_pin_timeline

2022-01-04 Thread John Harrison
On 1/4/2022 09:31, Matthew Brost wrote: intel_context_timeline_lock can return can error if interrupted by a user when trying to lock the timeline mutex. Check the return value of intel_context_timeline_lock in eb_pin_timeline (execbuf IOCTL). Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf")

[Intel-gfx] [PATCH] drm/i915: Check return intel_context_timeline_lock of in eb_pin_timeline

2022-01-04 Thread Matthew Brost
intel_context_timeline_lock can return can error if interrupted by a user when trying to lock the timeline mutex. Check the return value of intel_context_timeline_lock in eb_pin_timeline (execbuf IOCTL). Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf") Signed-off-by: Matthew Brost ---