This commit implements support for the FSP_VGA_MODE12_MONOCHROME Kconfig option within the Panther Lake romstage code. By checking for the CONFIG_FSP_VGA_MODE12_MONOCHROME option, we set the corresponding VGA_INIT_CONTROL_MODE12_MONOCHROME bit in the FSP_M_CONFIG structure. This ensures that when a 1-bit-per-pixel framebuffer is used, the Intel FSP is correctly informed to replicate the data across the remaining color planes for display, saving 75% of framebuffer memory in romstage. Key changes: - Define the new VGA_INIT_CONTROL_MODE12_MONOCHROME control bit. - Conditionally set this control bit in setup_vga_mode12_params() when CONFIG_FSP_VGA_MODE12_MONOCHROME is enabled. BUG=b:406725440 TEST=Verify VGA text rotation on Google/Felino. Change-Id: I1dec24bb7ed44ca07babe0aa6886a50952d3faa2 Signed-off-by: Kapil Porwal <kapilporwal@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90073 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| arch | ||
| commonlib | ||
| console | ||
| cpu | ||
| device | ||
| drivers | ||
| ec | ||
| include | ||
| lib | ||
| mainboard | ||
| northbridge | ||
| sbom | ||
| security | ||
| soc | ||
| southbridge | ||
| superio | ||
| vendorcode | ||
| Kconfig | ||