Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223014
b: refs/heads/master
c: 49078f7
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson committed Dec 4, 2010
1 parent f11fb16 commit 747d814
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22ed1113a9adda6e193c329119a384362da01289
refs/heads/master: 49078f7d108f132582e5af46304c317b55f83948
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3710,6 +3710,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,

/* FDI link */
if (HAS_PCH_SPLIT(dev)) {
int pixel_multiplier = intel_mode_get_pixel_multiplier(adjusted_mode);
int lane = 0, link_bw, bpp;
/* CPU eDP doesn't require FDI link, so just set DP M/N
according to current link config */
Expand Down Expand Up @@ -3793,6 +3794,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,

intel_crtc->fdi_lanes = lane;

if (pixel_multiplier > 1)
link_bw *= pixel_multiplier;
ironlake_compute_m_n(bpp, lane, target_clock, link_bw, &m_n);
}

Expand Down

0 comments on commit 747d814

Please sign in to comment.