Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318533
b: refs/heads/master
c: 61e9653
h: refs/heads/master
i:
  318531: a64a504
v: v3
  • Loading branch information
Daniel Vetter committed May 31, 2012
1 parent b10c26d commit afb07aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5153dc09c2be01670c6dce7ac6a454f23d5c2b6
refs/heads/master: 61e9653f0d9a18a0ceecbc0acb93b3297fbb8196
23 changes: 4 additions & 19 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4395,25 +4395,10 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
&clock,
&reduced_clock);
}
/* SDVO TV has fixed PLL values depend on its clock range,
this mirrors vbios setting. */
if (is_sdvo && is_tv) {
if (adjusted_mode->clock >= 100000
&& adjusted_mode->clock < 140500) {
clock.p1 = 2;
clock.p2 = 10;
clock.n = 3;
clock.m1 = 16;
clock.m2 = 8;
} else if (adjusted_mode->clock >= 140500
&& adjusted_mode->clock <= 200000) {
clock.p1 = 1;
clock.p2 = 10;
clock.n = 6;
clock.m1 = 12;
clock.m2 = 8;
}
}

if (is_sdvo && is_tv)
i9xx_adjust_sdvo_tv_clock(adjusted_mode, &clock);


/* FDI link */
pixel_multiplier = intel_mode_get_pixel_multiplier(adjusted_mode);
Expand Down

0 comments on commit afb07aa

Please sign in to comment.