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!
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to