Hello,
These days I am reading nouveau source code,but I cannot understand this code!
Please look at http://codepad.org/61v3mXmq .
The function ‘nouveau_dsm_power_state’ said optimus is disabled in another
function ‘nouveau_switcheroo_set_state’.
But in fact,the function ‘nouveau_switcheroo_set_state’ will return directly
when optimus is detected!
Both of these functions won’t disable the nv card if optimus is detected?
I got it wrong or it’s a bug? Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20141109/3d530b17/attachment.html>