[coreboot-gerrit] Patch merged into coreboot/master: nb/gm45/gma.c: use linux code to compute LVDS dotclock divisors
gerrit at coreboot.org
gerrit at coreboot.org
Tue Oct 11 23:35:44 CEST 2016
the following patch was just integrated into master:
commit fe3eabcaed5dfc465808bb9e1881c1a7f1409a37
Author: Arthur Heymans <arthur at aheymans.xyz>
Date: Mon Sep 26 08:44:46 2016 +0200
nb/gm45/gma.c: use linux code to compute LVDS dotclock divisors
This reuses linux code (at least 4.1) to compute the graphic clock
divisors for LVDS displays on the gm45 northbridge.
The divisors m1, m2, n, p1, p2 need to be such that
"BASE_FREQUECY * (5 * (m1 + 2) + (m2 + 2)) / (n + 2)
/ (p1 * p2)" is as close as possible to the target_frequency.
On g4x hardware the BASE_FREQUENCY is 96000kHz.
This potentially increases LVDS display compatibility.
Change-Id: I2323af5756431e89769f95059790f5a922af14b4
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
Reviewed-on: https://review.coreboot.org/16741
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth at google.com>
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
See https://review.coreboot.org/16741 for details.
-gerrit
More information about the coreboot-gerrit
mailing list