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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Die, 2012-01-03 at 18:09 +0000, Dave Airlie wrote: 
> 2012/1/3 Michel Dänzer <michel@xxxxxxxxxxx>:
> > From: Michel Dänzer <michel.daenzer@xxxxxxx>
> >
> > 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,

So do I. :) The comment in include/linux/hardirq.h that ends in 'Do not
use in_atomic() in driver code.' sounds rathery scary...


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux