CVSROOT: /cvs Module name: xenocara Changes by: o...@cvs.openbsd.org 2009/09/09 20:30:26
Modified files: driver/xf86-video-intel/src: i830_display.c i830_driver.c Log message: backport a bugfix from upstream: Fix 945GM VT switch in UMS Bug #19578. We should set private intel_crtc state according to current, as fail to do so pipe A needs active won't be taken care of. Also make sure pipe swap operation always set during VT switch. This also fixes the *other* x40 lid problem (which happens when you suspend, then you shut the lid in dont'-suspend-on-lid mode. the reasoning for the PipeA quirk I finally found: On some platforms, the firmware may read & write GPU registers on lid close, suspend/resume time or during various SMM events. If one of the graphics pipes is disabled at that time, the GPU may hang due to the programming dependencies of the various registers. So essentially, without this patch, if you have this quirk and you shut the lid, you're hosed, but y'know drivers in userland are great. So are BIOS writers. requested by deraadt@, who keeps getting this issue when he's on a plane.