Re: (subset) [PATCH] drm/vc4: drop all currently held locks if deadlock happens

2023-01-02 Thread Maxime Ripard
On Thu, 29 Dec 2022 16:46:38 -0300, Maíra Canal wrote: > If vc4_hdmi_reset_link() returns -EDEADLK, it means that a deadlock > happened in the locking context. This situation should be addressed by > dropping all currently held locks and block until the contended lock > becomes available. Currently

Re: [PATCH] drm/vc4: drop all currently held locks if deadlock happens

2022-12-30 Thread Stefan Wahren
Hi Maíra, Am 29.12.22 um 20:46 schrieb Maíra Canal: If vc4_hdmi_reset_link() returns -EDEADLK, it means that a deadlock happened in the locking context. This situation should be addressed by dropping all currently held locks and block until the contended lock becomes available. Currently, vc4 is

[PATCH] drm/vc4: drop all currently held locks if deadlock happens

2022-12-29 Thread Maíra Canal
If vc4_hdmi_reset_link() returns -EDEADLK, it means that a deadlock happened in the locking context. This situation should be addressed by dropping all currently held locks and block until the contended lock becomes available. Currently, vc4 is not dealing with the deadlock properly, producing the