diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2016-08-22 17:58:46 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-19 19:19:15 +0200 |
commit | de6ad8369f381444162c2823944f24de9b579874 (patch) | |
tree | 6dec26ae4279fb9b452e4633aa72dc3e2edc749e /src/cpu/via | |
parent | a9e03a34b05e00dabb63d362335d256a70cde7f8 (diff) |
gm45/gma.c: use screen on vga connector if connected
The intel x4x and gm45 have very similar integrated graphic devices.
Currently the x4x native graphic init enables VGA, while gm45 can output
on LVDS.
This patch reuses the x4x graphic initialisation code
to enable output on VGA in gm45 in a way that the behavior is similar to vbios:
If no VGA display is connected the internal LVDS screen is used.
If an external screen is detected on the VGA port it will be used instead.
Change-Id: I7e9ff793a5384ad8b4220fb1c0d9b28e6cee8391
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/16295
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu/via')
0 files changed, 0 insertions, 0 deletions