From: Frederic Crozat <fcro...@suse.com> Disable "acceleration" under qemu, since taking the hypercall trap is really quite expensive and you're better off doing noaccel. --- src/alp_driver.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/src/alp_driver.c b/src/alp_driver.c index bd5e52f..ba55247 100644 --- a/src/alp_driver.c +++ b/src/alp_driver.c @@ -774,6 +774,16 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags) else xf86SetDDCproperties(pScrn,xf86PrintEDID( xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn),pCir->I2CPtr1))); + +#ifdef XSERVER_LIBPCIACCESS + #ifndef PCI_CHIP_QEMU + #define PCI_CHIP_QEMU 0x1af4 + #endif + if (!pScrn->monitor->DDC && + ((pCir->PciInfo->subvendor_id & 0xffff) == PCI_CHIP_QEMU)) { + pCir->NoAccel = TRUE; + } +#endif /* Probe the possible LCD display */ AlpProbeLCD(pScrn); -- 2.6.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel