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

2024-04-01 Thread nerdopolis
On Thursday, March 28, 2024 8:03:43 AM EDT 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 v11 1/9] drm/panic: Add drm panic locking

2024-03-28 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