Re: GMA500: ERROR: "__bad_udelay" undefined!

From: Patrik Jakobsson
Date: Tue Jul 26 2011 - 05:06:25 EST


>> A 20 ms busy wait is rather nasty. Can't this be replaced with a
>> sleeping wait (msleep)?
>
> Don't know yet - its on the fixme list to dig into - I think the answer
> is some cases but not all.

IMO, it should be replaced with actually waiting for the vblank and not an
arbitrary time. I think this is fine as long as we don't use it when waiting for
a pipe to disable. And I guess we could sleep while waiting for vblank.

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