W dniu 1 grudnia 2009 10:08 użytkownik Michel Dänzer
<mic...@daenzer.net> napisał:
>> But I'm not sure that anymore. Also it expected drm_file parameter
>> which AFAIK is never passed from gpu driver, but from drm to gpu
>> driver.
>
> As it is, it's intended for handling ioctl calls from userspace and as
> such may make assumptions which weren't satisfied in the context you
> tried using it from. It might be possible to factor out the core
> functionality such that it would be more usable from within the kernel,
> but it'll still only be appropriate for a process context which can
> afford to sleep for relatively long intervals.

I need that for reclocking which runs on separated context in driver's
own workqueue. So that would be fine.

-- 
Rafał

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to