[PATCH] radeon: Use mdelay() instead of msleep() in atom_op_delay().

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Jan 3 10:09:18 PST 2012


On Tue,  3 Jan 2012 19:04:00 +0100
Michel Dänzer <michel at daenzer.net> wrote:

> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> It can be called from atomic context, e.g. when switching to console for panic
> output.

Is this only special cases like a panic - if so can it not be called in a
way that distinguishes between normality and nasty cases. mS plus spin
loops are horrendous for anyone trying to do real time, or even for
keeping the clock straight.


More information about the dri-devel mailing list