Re: [PATCH] accel/ivpu: Fix pm related deadlocks in cmdq ioctls

2025-04-30 Thread Jacek Lawrynowicz
Applied to drm-misc-fixes On 4/25/2025 11:33 AM, Jacek Lawrynowicz wrote: > Fix deadlocks in ivpu_cmdq_create_ioctl() and ivpu_cmdq_destroy_ioctl() > related to runtime suspend. > > Runtime suspend acquires file_priv->lock mutex by calling > ivpu_cmdq_reset_all_contexts(). The same lock is acquir

Re: [PATCH] accel/ivpu: Fix pm related deadlocks in cmdq ioctls

2025-04-25 Thread Jeff Hugo
On 4/25/2025 3:33 AM, Jacek Lawrynowicz wrote: Fix deadlocks in ivpu_cmdq_create_ioctl() and ivpu_cmdq_destroy_ioctl() related to runtime suspend. Runtime suspend acquires file_priv->lock mutex by calling ivpu_cmdq_reset_all_contexts(). The same lock is acquired in the cmdq ioctls. If one of the

[PATCH] accel/ivpu: Fix pm related deadlocks in cmdq ioctls

2025-04-25 Thread Jacek Lawrynowicz
Fix deadlocks in ivpu_cmdq_create_ioctl() and ivpu_cmdq_destroy_ioctl() related to runtime suspend. Runtime suspend acquires file_priv->lock mutex by calling ivpu_cmdq_reset_all_contexts(). The same lock is acquired in the cmdq ioctls. If one of the cmdq ioctls is called while runtime suspend is i