Re: simpledrm, running display servers, and drivers replacing simpledrm while the display server is running

2024-05-19 Thread nerdopolis
On Friday, May 10, 2024 9:11:13 AM EDT Jonas Ã…dahl wrote: > On Fri, May 10, 2024 at 02:45:48PM +0200, Thomas Zimmermann wrote: > > Hi > > > > > (This was discussed on #dri-devel, but I'll reiterate here as well). > > > > > > There are two problems at hand; one is the race condition during boot >

simpledrm, running display servers, and drivers replacing simpledrm while the display server is running

2024-05-09 Thread nerdopolis
Hi So I have been made aware of an apparent race condition of some drivers taking a bit longer to load, which could lead to a possible race condition of display servers/greeters using the simpledrm device, and then experiencing problems once the real driver loads, the simpledrm device that the

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

Re: [RFC][PATCH v5 0/6] drm/panic: Add a drm panic handler

2023-11-13 Thread nerdopolis
ew > get_scanout_buffer() api > > To test it, make sure you're using the simpledrm driver, and trigger a panic: > echo c > /proc/sysrq-trigger > > v2: > * Use get_scanout_buffer() instead of the drm client API. (Thomas Zimmermann) > * Add the panic reason to the panic mess

Re: [PATCH v4 1/4] drm/format-helper: Export line conversion helper for drm_panic

2023-10-03 Thread nerdopolis
On Tuesday, October 3, 2023 10:22:44 AM EDT Jocelyn Falempe wrote: > drm_panic will need the low-level drm_fb__line functions. > Also add drm_fb_r1_to_xrgb to render the fonts. > > Signed-off-by: Jocelyn Falempe > --- > drivers/gpu/drm/drm_format_helper.c | 88

Re: [RFC][PATCH v2 0/2] drm/panic: Add a drm panic handler

2023-09-16 Thread nerdopolis
canout_buffer() instead of the drm client API. (Thomas Zimmermann) > * Add the panic reason to the panic message (Nerdopolis) > * Add an exclamation mark (Nerdopolis) > > I didn't reuse the fbdev functions yet, that would need some fbdev > refactoring, because they rely on struc

Re: [RFC][PATCH 0/2] drm/panic: Add a drm panic handler

2023-08-23 Thread nerdopolis
On Monday, August 21, 2023 9:34:52 AM EDT Jocelyn Falempe wrote: > On 13/08/2023 04:20, nerdopolis wrote: > > On Wednesday, August 9, 2023 3:17:27 PM EDT Jocelyn Falempe wrote: > >> This introduces a new drm panic handler, which displays a message when a > >> panic

Re: [RFC][PATCH 0/2] drm/panic: Add a drm panic handler

2023-08-14 Thread nerdopolis
On Wednesday, August 9, 2023 3:17:27 PM EDT Jocelyn Falempe wrote: > This introduces a new drm panic handler, which displays a message when a > panic occurs. > So when fbcon is disabled, you can still see a kernel panic. > > This is one of the missing feature, when disabling VT/fbcon in the

Re: [PATCH v2 00/10] drm: Support simple-framebuffer devices and firmware fbs

2021-03-26 Thread nerdopolis
> > v2: > * rename to simpledrm, aperture helpers > * reorganized patches > * use hotplug helpers for removal (Daniel) > * added DT match tables (Rob) > * use shadow-plane helpers > * lots of minor cleanups > > [1] > https://lore.ker

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-12 Thread nerdopolis
On Friday, March 12, 2021 3:03:46 AM EST Thomas Zimmermann wrote: > Hi > > Am 12.03.21 um 04:49 schrieb nerdopolis: > > On Wednesday, March 10, 2021 4:10:35 AM EST Thomas Zimmermann wrote: > >> Hi > >> > >> Am 10.03.21 um 03:50 schrieb nerdopolis: > &g

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-11 Thread nerdopolis
On Wednesday, March 10, 2021 4:10:35 AM EST Thomas Zimmermann wrote: > Hi > > Am 10.03.21 um 03:50 schrieb nerdopolis: > > On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote: > >> Hey > >> > >> On request of Noralf, I picked

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-10 Thread nerdopolis
On Wednesday, March 10, 2021 4:10:35 AM EST Thomas Zimmermann wrote: > Hi > > Am 10.03.21 um 03:50 schrieb nerdopolis: > > On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote: > >> Hey > >> > >> On request of Noralf, I picked

Re: [PATCH v5 0/7] drm: add simpledrm driver

2021-03-09 Thread nerdopolis
On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote: > Hey > > On request of Noralf, I picked up the patches and prepared v5. Works fine with > Xorg, if configured according to: > https://lists.freedesktop.org/archives/dri-devel/2014-January/052777.html > If anyone knows how to