Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-08 Thread Tom Li
On Fri, Mar 08, 2019 at 10:13:58AM +0100, Geert Uytterhoeven wrote: > Hi Tom, > > If the kernel just crashes, of course all of that doesn't happen. > Is your graphics card reset when the reset button is pressed, or only on > cold power on? It's a laptop, so it doesn't have a reset button. I've

Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-08 Thread Geert Uytterhoeven
Hi Tom, On Thu, Mar 7, 2019 at 10:38 PM Tom Li wrote: > On Thu, Mar 07, 2019 at 10:39:23AM +0100, Geert Uytterhoeven wrote: > > On Thu, Mar 7, 2019 at 10:00 AM Jani Nikula > > wrote: > > > It's possible to do this using a reboot notifier. I am not sure if there > > > are better ways to achieve

Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-07 Thread Tom Li
On Thu, Mar 07, 2019 at 10:39:23AM +0100, Geert Uytterhoeven wrote: > On Thu, Mar 7, 2019 at 10:00 AM Jani Nikula > wrote: > > It's possible to do this using a reboot notifier. I am not sure if there > > are better ways to achieve the same, but there's at least one example of > > using reboot

Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-07 Thread Geert Uytterhoeven
Hi Jani, On Thu, Mar 7, 2019 at 10:00 AM Jani Nikula wrote: > On Thu, 07 Mar 2019, Tom Li wrote: > > As you may have noticed, recently I've been working on a reworked version > > of sm712fb, and planned to convert it to a DRM/KMS driver. Besides using > > it on embedded/non-x86 systems, I

Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-07 Thread Jani Nikula
On Thu, 07 Mar 2019, Tom Li wrote: > Hi all. > > As you may have noticed, recently I've been working on a reworked version > of sm712fb, and planned to convert it to a DRM/KMS driver. Besides using > it on embedded/non-x86 systems, I thought it would be a good idea to support > histrocial x86

Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-06 Thread Tom Li
Hi all. As you may have noticed, recently I've been working on a reworked version of sm712fb, and planned to convert it to a DRM/KMS driver. Besides using it on embedded/non-x86 systems, I thought it would be a good idea to support histrocial x86 laptops with this VGA chipset as well, so I've