drm/i915: Increase gen2 vco frequency limit to 1512 MHz

Bruno Prémont has a 855 machine with a 1400x1050 LVDS screen.

The VBT mode is as follows:
0:"1400x1050" 0 108000 1400 1416 1528 1688 1050 1051 1054 1066 0x8 0xa

The BIOS uses the following DPLL settings:
DPLL = 0x90020000
FP0 = 0x2140e
FP1 = 0x21207

That puts the BIOS generated VCO frequency at 1512 MHz, which is
higher than the 1400 MHz limit we have currently.

Let's bump the VCO limit to 1512 MHz and see what happens.

Cc: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Ville Syrjälä 2013-12-09 18:54:15 +02:00 committed by Daniel Vetter
parent 91dbe5fb77
commit c7721d3266
1 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ intel_fdi_link_freq(struct drm_device *dev)
static const intel_limit_t intel_limits_i8xx_dac = { static const intel_limit_t intel_limits_i8xx_dac = {
.dot = { .min = 25000, .max = 350000 }, .dot = { .min = 25000, .max = 350000 },
.vco = { .min = 930000, .max = 1400000 }, .vco = { .min = 930000, .max = 1512000 },
.n = { .min = 2, .max = 16 }, .n = { .min = 2, .max = 16 },
.m = { .min = 96, .max = 140 }, .m = { .min = 96, .max = 140 },
.m1 = { .min = 18, .max = 26 }, .m1 = { .min = 18, .max = 26 },
@ -103,7 +103,7 @@ static const intel_limit_t intel_limits_i8xx_dac = {
static const intel_limit_t intel_limits_i8xx_dvo = { static const intel_limit_t intel_limits_i8xx_dvo = {
.dot = { .min = 25000, .max = 350000 }, .dot = { .min = 25000, .max = 350000 },
.vco = { .min = 930000, .max = 1400000 }, .vco = { .min = 930000, .max = 1512000 },
.n = { .min = 2, .max = 16 }, .n = { .min = 2, .max = 16 },
.m = { .min = 96, .max = 140 }, .m = { .min = 96, .max = 140 },
.m1 = { .min = 18, .max = 26 }, .m1 = { .min = 18, .max = 26 },
@ -116,7 +116,7 @@ static const intel_limit_t intel_limits_i8xx_dvo = {
static const intel_limit_t intel_limits_i8xx_lvds = { static const intel_limit_t intel_limits_i8xx_lvds = {
.dot = { .min = 25000, .max = 350000 }, .dot = { .min = 25000, .max = 350000 },
.vco = { .min = 930000, .max = 1400000 }, .vco = { .min = 930000, .max = 1512000 },
.n = { .min = 2, .max = 16 }, .n = { .min = 2, .max = 16 },
.m = { .min = 96, .max = 140 }, .m = { .min = 96, .max = 140 },
.m1 = { .min = 18, .max = 26 }, .m1 = { .min = 18, .max = 26 },