Re: Call for Foundation-supported Project Ideas

From: Karel Gardas <gardask_at_gmail.com>
Date: Tue, 04 Jan 2022 13:19:17 UTC

On 1/4/22 8:14 AM, Stefan Blachmann wrote:
> On 1/4/22, Warner Losh <imp@bsdimp.com> wrote:
>> Not without loading the xorg graphics stuff... graphics chips from the last
>> 15 or 20 years have lots of chip specific state that only the graphics
>> stuff knows about... IIRC, it only knows about it because it put the
>> graphics into a known state... it's the main reason laptops stopped
>> suspending in the early 2000s... it looks to be a lot of work for a
>> relatively rare use case...
> 
> UEFI GOP seems to have the necessary functionalities
> (https://wiki.osdev.org/GOP#Get_the_Current_Mode) so I guess the work
> required would be limited (restore mode and redraw screen from
> buffer).

Wouldn't that stumble over drm based driver code? Assuming majority of 
users are using drm based X server and not efifb based one...