Intel graphics CPU usage - SDVO detect bogosity?

Dave Airlie airlied at redhat.com
Sun Aug 15 20:30:08 PDT 2010


On Sun, 2010-08-15 at 19:32 -0700, Linus Torvalds wrote:
> I started wondering why 'top' was showing an otherwise idle system as
> having a load average of 0.5+, and worker threads constantly using the
> CPU.
> 
> So I did a system-wide profile, and got the attached output (look at
> it in a really wide terminal).
> 
> There seems to be something _seriously_ wrong with i915 SDVO detect.
> This is on an Apple Mac Mini (hey, your favorite problem child!), and
> apparently it spends 20% of its non-idle CPU time just doing udelay's
> for the i2c SDVO connection detection.
> 
> That sounds a bit wrong, doesn't it?

At least we should replace mdelay with msleep in those functions.

Can you get a boot with drm.debug=4?

I wonder are we picking up a bad SDVO, the insane code retries 50 times
with a hard loop delay.

Dave.




More information about the dri-devel mailing list