Again, it breaks the build on .36-stable, this is getting to be a joke,
why even tag these for stable trees?

frustrated,

greg k-h

> commit: 49078f7d108f132582e5af46304c317b55f83948
> From: Chris Wilson <[email protected]>
> Date: Sat, 4 Dec 2010 07:45:57 +0000
> Subject: [PATCH] drm/i915: Factor in pixel-repeat in FDI M/N calculation
> 
> Fixes the modesetting on the secondary panel of the Libretto W100 and
> presumably many more Ironlake laptops with SDVO LVDS displays.
> 
> Reported-and-tested-by: Matthew Willoughby <[email protected]>
> Signed-off-by: Chris Wilson <[email protected]>
> Cc: [email protected]
> ---
>  drivers/gpu/drm/i915/intel_display.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c 
> b/drivers/gpu/drm/i915/intel_display.c
> index fac118b..d9b7092 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -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 */
> @@ -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);
>       }
>  
> 
> _______________________________________________
> stable mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/stable

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to