Re: 2.6.32 regression (bisected): Video tearing/glitching with T400 laptops

From: Fabio Comolli
Date: Tue Oct 13 2009 - 15:21:01 EST


Hi Jesse.
Sorry to jump in but I also had issues with -32rc (i915 chip) and this
patch seems to have resolved all problems.

I don't know how to describe in english what happened to my desktop
but probably "glitches" and "tearings" could be the correct words.
Also sometimes the screen went blank and needed to switch to terminal
console and back to return to the normal X screen.

Nothing in the logs, neither messages nor Xorg.0.log.

Regards,
Fabio



On Mon, Oct 12, 2009 at 9:05 PM, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:
> On Mon, 12 Oct 2009 20:46:51 +0200
> "Carlos R. Mafra" <crmafra2@xxxxxxxxx> wrote:
>
>> On Mon 12.Oct'09 at Â9:54:38 -0700, Jesse Barnes wrote:
>> > >
>> > > Nope, unfortunately, it's not helping on my T400 laptop. ÂI'm
>> > > still getting huge amounts of glitching and tearing with this
>> > > patch applied against -rc3.
>> > >
>> > > What I'm using for now to fix up my system is this patch.
>> > >
>> >
>> > How about this one? ÂI have one more idea to try out if this doesn't
>> > work (hacking on it now).
>>
>> I was also experiencing something very similar to Theodore's bug
>> report and, at least for me, the patch below fixed the issue (the
>> previous one also had no effect).
>
> Cool, good to hear. ÂHopefully Ted and Keith will confirm too.
>
> --
> Jesse Barnes, Intel Open Source Technology Center
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 7a5fb79..1451945 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -1047,7 +1047,7 @@ static void g4x_enable_fbc(struct drm_crtc *crtc, unsigned long interval)
> Â Â Â Âdev_priv->cfb_fence = obj_priv->fence_reg;
> Â Â Â Âdev_priv->cfb_plane = intel_crtc->plane;
>
> - Â Â Â dpfc_ctl = plane | DPFC_SR_EN | DPFC_CTL_LIMIT_1X;
> + Â Â Â dpfc_ctl = plane | DPFC_CTL_LIMIT_1X;
> Â Â Â Âif (obj_priv->tiling_mode != I915_TILING_NONE) {
> Â Â Â Â Â Â Â Âdpfc_ctl |= DPFC_CTL_FENCE_EN | dev_priv->cfb_fence;
> Â Â Â Â Â Â Â ÂI915_WRITE(DPFC_CHICKEN, DPFC_HT_MODIFY);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/