7834 uts: vgatext should use gfx_private

Review Request #343 - Created Feb. 3, 2017 and submitted

Information
Toomas Soome
illumos-gate
7834
cae8bfd...
Reviewers
general

7834 uts: vgatext should use gfx_private

The current illumos console does use following chain for displaying the data on the screen:

... skipping streams bits ... -> tem -> vgatext -> screen

The vgatext there is detecting and attaching to primary display. At this time the vgatext does only operate with text mode screen.

This update will plug in the gfx_private module; the idea is actually quite simple and part of the change is already in place as one can see from gfx_private sources.

so this update will set the chain as following:

... skipping streams bits ... -> tem -> vgatext -> gfx_private -> screen

The actual screen handling is managed from tem via visual_io(7I).

The actual screen related calls are implemented in gfx_private, transferred from the vgatext, and with this patch applied, the same text mode console is provided, but the stage is set to followup.

The next logical step is to provide simple software frame buffer via gfx_private:

                     / gfx_vgatext branch

... -> vgatext -> gfx_fb
\ gfx_bitmap branch

The mode of the console is picked from boot, the same visual_io(7I) is used and with it, we can have the usable console for both BIOS and UEFI boot. Note, I am skipping over the early console at this time.

This setup is still far from ideal, but does quite good work for now, this is also the current implementation in loader branch and has been presented via demo usb/iso images.

Looking even more forward, obviously the text/software FB based console are for the "generic" case, the proper real console would need KMS driven framebuffer.


  
Gordon Ross
Toomas Soome
Yuri Pankov
Gordon Ross
Toomas Soome
Toomas Soome
John Howard
John Howard
Gordon Ross
Alexander Eremin
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...