Kill lvds_num_lanes
Only one value would work with corresponding gma code currently (which one depends on board). Going forward, it's possible to compute which number can be used, so there is no need to keep this info around. Change-Id: Iadc77ef94b02f892860e3ae8d70a0a792758565d Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/11862 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -244,7 +244,7 @@ static void intel_gma_init(const struct northbridge_intel_gm45_config *info,
|
||||
|
||||
link_m1 = ((uint64_t)link_n1 * mode->pixel_clock) / link_frequency;
|
||||
data_m1 = ((uint64_t)data_n1 * 18 * mode->pixel_clock)
|
||||
/ (link_frequency * 8 * (info->gfx.lvds_num_lanes ? : 4));
|
||||
/ (link_frequency * 8 * 4);
|
||||
|
||||
printk(BIOS_INFO, "bringing up panel at resolution %d x %d\n",
|
||||
hactive, vactive);
|
||||
|
Reference in New Issue
Block a user