Re: [PATCH] drm: introduce drm_can_sleep and use in intel/radeon drivers.

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

 



>>
>> So we have a few places where the drm drivers would like to sleep to
>> be nice to the system, mainly in the modesetting paths, but we also
>> have two cases were atomic modesetting must take place, panic writing
>> and kernel debugger. So provide a central inline to determine if a
>> sleep or delay should be used and use this in the intel and radeon drivers.
>>
>> Based on patch from Michel Dänzer <michel.daenzer@xxxxxxx>
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43941
>>
>> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
>
> If MSLEEP is indeed unused, I think it should just die - we have way too
> much yelling cruft from dri1 yonder lying around that hides important
> details like this. Otherwise
>
> Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

I've pushed the version that just drops MSLEEP since nobody used it.

Thanks,
Dave.
_______________________________________________
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