Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-19 Thread Jocelyn Falempe
On 12/01/2024 14:50, Daniel Vetter wrote: On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote: +/** + * drm_panic_init() - Initialize drm-panic subsystem + * + * register the panic notifier + */ +void drm_panic_init(void) +{ + atomic_notifier_chain_register(_notifier_list,

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-19 Thread Thomas Zimmermann
Hi Am 18.01.24 um 11:17 schrieb Jocelyn Falempe: On 17/01/2024 16:49, Thomas Zimmermann wrote: Hi Am 04.01.24 um 17:00 schrieb Jocelyn Falempe: [...] +    /** + * @get_scanout_buffer: + * + * Get the current scanout buffer, to display a panic message with drm_panic. + *

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-18 Thread Daniel Vetter
On Tue, Jan 16, 2024 at 11:54:42AM +0100, Jocelyn Falempe wrote: > On 12/01/2024 14:31, Daniel Vetter wrote: > > You need to tie these nice kerneldocs into the overall documentation tree, > > or they're not getting built. Please then also check that all the links > > and formatting works

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-18 Thread Jocelyn Falempe
On 17/01/2024 16:49, Thomas Zimmermann wrote: Hi Am 04.01.24 um 17:00 schrieb Jocelyn Falempe: [...] +    /** + * @get_scanout_buffer: + * + * Get the current scanout buffer, to display a panic message with drm_panic. + * The driver should do the minimum changes to provide

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-17 Thread Thomas Zimmermann
Hi Am 04.01.24 um 17:00 schrieb Jocelyn Falempe: [...] + /** +* @get_scanout_buffer: +* +* Get the current scanout buffer, to display a panic message with drm_panic. +* The driver should do the minimum changes to provide a linear buffer, that +* can

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-16 Thread Jocelyn Falempe
On 12/01/2024 14:31, Daniel Vetter wrote: On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote: This module displays a user friendly message when a kernel panic occurs. It currently doesn't contain any debug information, but that can be added later. v2 * Use

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-12 Thread Daniel Vetter
On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote: > +/** > + * drm_panic_init() - Initialize drm-panic subsystem > + * > + * register the panic notifier > + */ > +void drm_panic_init(void) > +{ > + atomic_notifier_chain_register(_notifier_list, > +

Re: [PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-12 Thread Daniel Vetter
On Thu, Jan 04, 2024 at 05:00:46PM +0100, Jocelyn Falempe wrote: > This module displays a user friendly message when a kernel panic > occurs. It currently doesn't contain any debug information, > but that can be added later. > > v2 > * Use get_scanout_buffer() instead of the drm client API. >

[PATCH v7 2/9] drm/panic: Add a drm panic handler

2024-01-04 Thread Jocelyn Falempe
This module displays a user friendly message when a kernel panic occurs. It currently doesn't contain any debug information, but that can be added later. v2 * Use get_scanout_buffer() instead of the drm client API. (Thomas Zimmermann) * Add the panic reason to the panic message (Nerdopolis)