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

Dave Airlie airlied at gmail.com
Tue Jan 3 10:09:14 PST 2012


2012/1/3 Michel Dänzer <michel at daenzer.net>:
> 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.
>
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43941

I wonder how ugly it would be to check for atomic context or not,
mdelay is quite a long busy delay to take a CPU, esp wrt to async
driver loading stuff.

Dave.


More information about the dri-devel mailing list