diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2018-02-18 10:05:53 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-03-03 15:19:38 +0000 |
commit | bcf9a0a7ab337f9361d58f88ca7510fa42f8aaf5 (patch) | |
tree | 46a3600c2f9a11cde132fdf2846980a887e82d47 /src/northbridge/intel/i945 | |
parent | 8aaa00401b68e5c5b6c07b0984e3e7c3027e3c2f (diff) | |
download | coreboot-bcf9a0a7ab337f9361d58f88ca7510fa42f8aaf5.tar.xz |
nb/intel/i945/gma: Log configured VGA mode
This is useful information, when debugging problems related to graphics.
Change-Id: Iacb0ae5f012207192379fd07e91f4687ec32cdfb
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/23807
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/i945')
-rw-r--r-- | src/northbridge/intel/i945/gma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c index 8d60bc91fc..89fca7e3df 100644 --- a/src/northbridge/intel/i945/gma.c +++ b/src/northbridge/intel/i945/gma.c @@ -233,6 +233,8 @@ static int intel_gma_init_lvds(struct northbridge_intel_i945_config *conf, BASE_FREQUENCY * (5 * (pixel_m1 + 2) + (pixel_m2 + 2)) / (pixel_n + 2) / (pixel_p1 * pixel_p2)); + printk(BIOS_INFO, "VGA mode: %s\n", IS_ENABLED(CONFIG_LINEAR_FRAMEBUFFER) ? + "Linear framebuffer" : "text"); if (IS_ENABLED(CONFIG_LINEAR_FRAMEBUFFER)) { /* Disable panel fitter (we're in native resolution). */ write32(mmiobase + PF_CTL(0), 0); |