Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-27 Thread Jaak Ristioja
Hi, On 22.03.24 16:06, Huacai Chen wrote: On Thu, Mar 21, 2024 at 4:55 AM Jaak Ristioja wrote: Hi Huacai, On 19.03.24 16:16, Huacai Chen wrote: Hi, Jaak, On Mon, Mar 18, 2024 at 11:42 PM Jaak Ristioja wrote: Hi Huacai, Uh, no, sorry, I did not get to test such changes. From what

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-22 Thread Huacai Chen
On Thu, Mar 21, 2024 at 4:55 AM Jaak Ristioja wrote: > > Hi Huacai, > > On 19.03.24 16:16, Huacai Chen wrote: > > Hi, Jaak, > > > > On Mon, Mar 18, 2024 at 11:42 PM Jaak Ristioja wrote: > >> > >> Hi Huacai, > >> > >> Uh, no, sorry, I did not get to test such changes. From what Thomas > >> wrote

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-20 Thread Jaak Ristioja
Hi Huacai, On 19.03.24 16:16, Huacai Chen wrote: Hi, Jaak, On Mon, Mar 18, 2024 at 11:42 PM Jaak Ristioja wrote: Hi Huacai, Uh, no, sorry, I did not get to test such changes. From what Thomas wrote I presumed that this got fixed and no further action would be required. To speed things up

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-19 Thread Huacai Chen
Hi, Jaak, On Mon, Mar 18, 2024 at 11:42 PM Jaak Ristioja wrote: > > Hi Huacai, > > Uh, no, sorry, I did not get to test such changes. From what Thomas > wrote I presumed that this got fixed and no further action would be > required. > > To speed things up I would appreciate it if you provided a

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-18 Thread Thomas Zimmermann
Hi Am 18.03.24 um 16:42 schrieb Jaak Ristioja: Hi Huacai, Uh, no, sorry, I did not get to test such changes. From what Thomas wrote I presumed that this got fixed and no further action would be required. Right. We reverted the problematic patch and the issue should be gone now. Best

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-18 Thread Jaak Ristioja
Hi Huacai, Uh, no, sorry, I did not get to test such changes. From what Thomas wrote I presumed that this got fixed and no further action would be required. To speed things up I would appreciate it if you provided a patch. As I worked around the problem for the end user by changing the

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-03-18 Thread Huacai Chen
Hi, Jaak, I'm still here as a boring man. :) Have you ever tested whether using "fs_initcall(sysfb_init)" works fine on your machine? Huacai On Wed, Jan 24, 2024 at 5:21 AM Jaak Ristioja wrote: > > Hi, > > I apologize for not finding the time to test this earlier. > > On 11.12.23 05:08, Huacai

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-24 Thread Huacai Chen
Hi, Thomas, On Wed, Jan 24, 2024 at 5:44 PM Thomas Zimmermann wrote: > > Hi > > Am 24.01.24 um 10:24 schrieb Huacai Chen: > > Hi, Thomas, > > > > On Wed, Jan 24, 2024 at 4:16 PM Thomas Zimmermann > > wrote: > >> > >> Hi > >> > >> Am 24.01.24 um 04:00 schrieb Huacai Chen: > >>> Hi, Javier and

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-24 Thread Thomas Zimmermann
Hi Am 24.01.24 um 10:24 schrieb Huacai Chen: Hi, Thomas, On Wed, Jan 24, 2024 at 4:16 PM Thomas Zimmermann wrote: Hi Am 24.01.24 um 04:00 schrieb Huacai Chen: Hi, Javier and Thomas, On Wed, Jan 24, 2024 at 5:21 AM Jaak Ristioja wrote: Hi, I apologize for not finding the time to test

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-24 Thread Huacai Chen
Hi, Thomas, On Wed, Jan 24, 2024 at 4:16 PM Thomas Zimmermann wrote: > > Hi > > Am 24.01.24 um 04:00 schrieb Huacai Chen: > > Hi, Javier and Thomas, > > > > On Wed, Jan 24, 2024 at 5:21 AM Jaak Ristioja wrote: > >> > >> Hi, > >> > >> I apologize for not finding the time to test this earlier. >

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-24 Thread Thomas Zimmermann
Hi Am 24.01.24 um 04:00 schrieb Huacai Chen: Hi, Javier and Thomas, On Wed, Jan 24, 2024 at 5:21 AM Jaak Ristioja wrote: Hi, I apologize for not finding the time to test this earlier. On 11.12.23 05:08, Huacai Chen wrote: And Jaak, could you please test with the below patch (but keep the

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Huacai Chen
Hi, Javier and Thomas, On Wed, Jan 24, 2024 at 5:21 AM Jaak Ristioja wrote: > > Hi, > > I apologize for not finding the time to test this earlier. > > On 11.12.23 05:08, Huacai Chen wrote: > > And Jaak, could you please test with the below patch (but keep the > > original order in Makefile) and

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Jaak Ristioja
Hi, I apologize for not finding the time to test this earlier. On 11.12.23 05:08, Huacai Chen wrote: And Jaak, could you please test with the below patch (but keep the original order in Makefile) and then give me the dmesg output? diff --git a/drivers/video/aperture.c

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Thomas Zimmermann
Hi Am 23.01.24 um 10:41 schrieb Javier Martinez Canillas: Thorsten Leemhuis writes: On 23.01.24 09:53, Jani Nikula wrote: On Wed, 08 Nov 2023, Thomas Zimmermann wrote: [...] As you know, there's a platform device that represents the firmware framebuffer. The firmware drivers, such as

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Thorsten Leemhuis
On 23.01.24 10:17, Thorsten Leemhuis wrote: > On 23.01.24 09:53, Jani Nikula wrote: >> On Wed, 08 Nov 2023, Thomas Zimmermann wrote: >>> >>> thanks for the patch. >>> >>> Am 08.11.23 um 03:46 schrieb Huacai Chen: After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Javier Martinez Canillas
Thorsten Leemhuis writes: > On 23.01.24 09:53, Jani Nikula wrote: >> On Wed, 08 Nov 2023, Thomas Zimmermann wrote: [...] > >>> As you know, there's a platform device that represents the firmware >>> framebuffer. The firmware drivers, such as simpledrm, bind to it. In >>> i915 and the other

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Thorsten Leemhuis
On 23.01.24 09:53, Jani Nikula wrote: > On Wed, 08 Nov 2023, Thomas Zimmermann wrote: >> >> thanks for the patch. >> >> Am 08.11.23 um 03:46 schrieb Huacai Chen: >>> After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from >>> device_initcall to subsys_initcall_sync") some Lenovo

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2024-01-23 Thread Jani Nikula
On Wed, 08 Nov 2023, Thomas Zimmermann wrote: > Hi, > > thanks for the patch. > > Am 08.11.23 um 03:46 schrieb Huacai Chen: >> After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from >> device_initcall to subsys_initcall_sync") some Lenovo laptops get a blank >> screen until the

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-12-11 Thread Huacai Chen
Hi, Javier, On Mon, Dec 11, 2023 at 5:17 PM Javier Martinez Canillas wrote: > > Huacai Chen writes: > > > Hi, Javier, > > > > On Mon, Dec 11, 2023 at 4:33 PM Javier Martinez Canillas > > wrote: > >> > >> Huacai Chen writes: > >> > >> Hello Huacai, > >> > >> > Hi, Javier, > >> > > >> > On Wed,

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-12-11 Thread Javier Martinez Canillas
Huacai Chen writes: > Hi, Javier, > > On Mon, Dec 11, 2023 at 4:33 PM Javier Martinez Canillas > wrote: >> >> Huacai Chen writes: >> >> Hello Huacai, >> >> > Hi, Javier, >> > >> > On Wed, Nov 8, 2023 at 4:24 PM Javier Martinez Canillas >> > wrote: >> >> >> >> Hello, >> >> >> >> On Wed, Nov 8,

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-12-11 Thread Huacai Chen
Hi, Javier, On Mon, Dec 11, 2023 at 4:33 PM Javier Martinez Canillas wrote: > > Huacai Chen writes: > > Hello Huacai, > > > Hi, Javier, > > > > On Wed, Nov 8, 2023 at 4:24 PM Javier Martinez Canillas > > wrote: > >> > >> Hello, > >> > >> On Wed, Nov 8, 2023 at 9:14 AM Thomas Zimmermann > >>

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-12-11 Thread Javier Martinez Canillas
Huacai Chen writes: Hello Huacai, > Hi, Javier, > > On Wed, Nov 8, 2023 at 4:24 PM Javier Martinez Canillas > wrote: >> >> Hello, >> >> On Wed, Nov 8, 2023 at 9:14 AM Thomas Zimmermann wrote: >> > >> > Hi, >> > >> >> [...] >> >> > >> > Relying on linking order is just as unreliable. The usual

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-12-10 Thread Huacai Chen
Hi, Javier, On Wed, Nov 8, 2023 at 4:24 PM Javier Martinez Canillas wrote: > > Hello, > > On Wed, Nov 8, 2023 at 9:14 AM Thomas Zimmermann wrote: > > > > Hi, > > > > [...] > > > > > Relying on linking order is just as unreliable. The usual workaround is > > to build native drivers as modules.

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-11-08 Thread Huacai Chen
Hi, Javier, On Wed, Nov 8, 2023 at 4:24 PM Javier Martinez Canillas wrote: > > Hello, > > On Wed, Nov 8, 2023 at 9:14 AM Thomas Zimmermann wrote: > > > > Hi, > > > > [...] > > > > > Relying on linking order is just as unreliable. The usual workaround is > > to build native drivers as modules.

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-11-08 Thread Huacai Chen
Hi, Thomas, On Wed, Nov 8, 2023 at 4:14 PM Thomas Zimmermann wrote: > > Hi, > > thanks for the patch. > > Am 08.11.23 um 03:46 schrieb Huacai Chen: > > After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from > > device_initcall to subsys_initcall_sync") some Lenovo laptops get a

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-11-08 Thread Javier Martinez Canillas
Hello, On Wed, Nov 8, 2023 at 9:14 AM Thomas Zimmermann wrote: > > Hi, > [...] > > Relying on linking order is just as unreliable. The usual workaround is > to build native drivers as modules. But first, please investigate where > the current code fails. > I fully agree with Thomas here. This

Re: [PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-11-08 Thread Thomas Zimmermann
Hi, thanks for the patch. Am 08.11.23 um 03:46 schrieb Huacai Chen: After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from device_initcall to subsys_initcall_sync") some Lenovo laptops get a blank screen until the display manager starts. This regression occurs with such a

[PATCH] drm/Makefile: Move tiny drivers before native drivers

2023-11-07 Thread Huacai Chen
After commit 60aebc9559492cea ("drivers/firmware: Move sysfb_init() from device_initcall to subsys_initcall_sync") some Lenovo laptops get a blank screen until the display manager starts. This regression occurs with such a Kconfig combination: CONFIG_SYSFB=y CONFIG_SYSFB_SIMPLEFB=y