Re: [PATCH v12 1/9] drm/panic: Add drm panic locking

2024-04-10 Thread Jocelyn Falempe
Hi, On 10/04/2024 09:59, Daniel Vetter wrote: On Tue, Apr 09, 2024 at 06:30:40PM +0200, Jocelyn Falempe wrote: From: Daniel Vetter Rough sketch for the locking of drm panic printing code. The upshot of this approach is that we can pretty much entirely rely on the atomic commit flow, with the

Re: [PATCH v12 1/9] drm/panic: Add drm panic locking

2024-04-10 Thread Daniel Vetter
On Tue, Apr 09, 2024 at 06:30:40PM +0200, Jocelyn Falempe wrote: > From: Daniel Vetter > > Rough sketch for the locking of drm panic printing code. The upshot of > this approach is that we can pretty much entirely rely on the atomic > commit flow, with the pair of raw_spin_lock/unlock providing

[PATCH v12 1/9] drm/panic: Add drm panic locking

2024-04-09 Thread Jocelyn Falempe
From: Daniel Vetter Rough sketch for the locking of drm panic printing code. The upshot of this approach is that we can pretty much entirely rely on the atomic commit flow, with the pair of raw_spin_lock/unlock providing any barriers we need, without having to create really big critical sections