[Bug 34252] Unexpected behaviour when switching video cards with vga_switcheroo

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue May 10 23:18:58 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=34252





--- Comment #8 from Florian Mickler <florian at mickler.org>  2011-05-11 06:18:49 ---
Hm.. according to the original commit description  "ON" / "OFF" is used to turn
the not-in-use-card on/off... 

What was the behavior before v2.6.38-rc4? I don't know if this was an intended
change in behavior or an unintended side effect of some other change. Dave
Airlie can probably tell though... 


p.s.: 
Anyway, I presume working around that in userspace is not the issue? (i.e.
maybe doing something like this:

IGDINUSE=`grep IGD /sys/kernel/debug/vgaswitcheroo/switch | awk -F":" '{ $3 }'`
if [ "x$IGDINUSE" != "x+" ]; then
     echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
fi

)

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
--
_______________________________________________
Dri-devel mailing list
Dri-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


More information about the dri-devel mailing list