Re: [PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display

2025-01-12 Thread Sasha Finkelstein
On Sat, 30 Nov 2024 at 12:36, Dmitry Baryshkov wrote: > Please add BL_CORE_SUSPENDRESUME option to the backlight device. > But interestingly enough, none of the panels set that flag. It appears that setting that option re-orders something in the resume process in such a way that the entire displa

Re: [PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display

2024-11-30 Thread Sasha Finkelstein
On Sat, 30 Nov 2024 at 10:29, Dmitry Baryshkov wrote: > > + > > +static int summit_resume(struct device *dev) > > +{ > > + return summit_set_brightness(dev); > > Doesn't the generic code already handle that for you? Apparently not, I have commented out the pm ops, entered sleep and the displa

Re: [PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display

2024-11-30 Thread Dmitry Baryshkov
On Sat, Nov 30, 2024 at 12:15:25PM +0100, Sasha Finkelstein wrote: > On Sat, 30 Nov 2024 at 10:29, Dmitry Baryshkov > wrote: > > > + > > > +static int summit_resume(struct device *dev) > > > +{ > > > + return summit_set_brightness(dev); > > > > Doesn't the generic code already handle that for

Re: [PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display

2024-11-30 Thread Dmitry Baryshkov
On Tue, Nov 26, 2024 at 05:34:22PM +0100, Sasha Finkelstein via B4 Relay wrote: > From: Sasha Finkelstein > > This is the display panel used for the touchbar on laptops that have it. > > Co-developed-by: Nick Chan > Signed-off-by: Nick Chan > Signed-off-by: Sasha Finkelstein > --- > drivers/

[PATCH v2 3/5] drm: panel: Add a panel driver for the Summit display

2024-11-26 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein This is the display panel used for the touchbar on laptops that have it. Co-developed-by: Nick Chan Signed-off-by: Nick Chan Signed-off-by: Sasha Finkelstein --- drivers/gpu/drm/panel/Kconfig| 9 +++ drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/