Re: radeon issues on MacBook Pro 8,2

From: Seth Forshee
Date: Fri Jan 20 2012 - 10:53:24 EST


On Thu, Jan 19, 2012 at 02:53:17PM -0600, Seth Forshee wrote:
> > > Â2. Occasional long delays when suspending. When this happens I see
> > > Â Âmessages like following in dmesg:
> > >
> > > Â Â Â[drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
> > > Â Â Â[drm:atom_execute_table_locked] *ERROR* atombios stuck executing D44E (len 62, WS 0, PS 0) @ 0xD46A
> > >
> > > Â ÂSometimes one of suspend or resume hangs completely, but I can't
> > > Â Âtell which and am not sure whether or not it's related. I'm also
> > > Â Âtesting a Mac Mini with the exact same card which does not seem to
> > > Â Âsuffer from this issue.
> > >
> > > Â ÂI ran a bisections that identified f8d0edd (drm/radeon/kms: improve
> > > Â ÂDP detect logic) as introducing problems with suspend, and reverting
> > > Â Âthis patch on top of 3.2.1 does seem to eliminate both issues.
> > >
> >
> > That patch doesn't really affect the modesetting paths directly; it
> > looks like a red herring to me.
>
> Perhaps. I just started a run of 200 s3 cycles with the patch reverted
> to see if I can reproduce the issues. I can usually trigger the problem
> with 15 or fewer s3 cycles.

The machine completed 200 s3 cycles with the patch reverted without long
delays, hangs, or any atombios error messages. Without reverting it
doesn't get through many at all before experiencing the errors and long
delays or hangs.

I added a printout of the connector status resulting from the logic that
was changed by f8d0edd. With the logic prior to this commit it
consistently returns the status as disconnected, which is correct as I
have nothing connected. But with the improved logic the status is
sometimes reported as connected, and these coincide with the atombios
errors.

Seth
--
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/