Hi Andrzej,
On Wed, Apr 12, 2023 at 03:06:42PM +0200, Andrzej Hajda wrote:
On 12.04.2023 13:33, Andi Shyti wrote:
i915_request_add() assumes that the timeline is locked whtn the
*when
function is called. Before exiting it releases the lock. But in the next commit we have one case where releasing the timeline mutex is not necessary and we don't want that.
Make a new i915_request_add_locked() version of the function where the lock is not released.
Signed-off-by: Andi Shyti andi.shyti@linux.intel.com Cc: stable@vger.kernel.org
Have you looked for other potential users of these new helpers?
not yet, will do!
Reviewed-by: Andrzej Hajda andrzej.hajda@intel.com
Thanks!
Andi