Re: [Bug #12152] Huge wakeups number from i1915

Yves-Alexis Perez
2008-12-08T06:24:08Z

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

On dim, 2008-12-07 at 15:12 -0800, Arjan van de Ven wrote:
>
> > > at least in some of the cases where this has been seen the cause
> is
> > > the following:
> > > The i915 DRM driver used to do polling for completion, busy
> > > waiting. It moved to be interrupt driven, which is usually better
> > > for power, but it will show up as more wakeups in powertop....
> >
> > IOW, this is not a regression?
>
> I don't know about this specifc case (not enough information) but for
> the case I described it's not a regression. Going to interrupt driven
> from busy waiting is an improvement not a regression :)

Well, several thousand or more interrupts really seems like a
regression :). But it seems that's the same thing as the “IRQ
spinning” (there was a thread on dri-devel about that).

It seems fixed with a patch from Matthew Garrett applied to
drm-intel/for-airlied but I don't think this has been applied to Linus
master.

Cheers,
--
Yves-Alexis

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]