Dear Nico: I am not a programmer to understand what you are saying. I will analize the involved code to try to understand. But I understand the general idea. I will do the changes and perform the tests and send you my proposal as soon as I can. Thank you, Jose.
Hi Jose (sorry for the name mixup earlier),
On 04.12.19 15:01, Jose Trujillo wrote:
The libgfxinit solution works!
Nice!
What to do next?
I have a rough idea for an upstream solution:
Extend libgfxinit's API: Scan_Ports() could get an optional parameter with predefined configs, e.g.
Static_Configs : in Pipe_Configs := All_Off_Configs;
It should then mix these with auto-detected displays.
Extend GMA.Mainboard to provide the predefined configs. Not sure here, it would need an update of all `gma-mainboard.ads` files in coreboot. Probably could be done with some sed-foo.
You can give that a shot, if you want. I won't have the time to look into it by myself soon.
Nico