Hi, > > Hmm. Seems we have one more case of cirrusdrm not completely > > (re-)initializing the card. Had that with seabios too. The > > cirrus_mode.c chunk of the cirrusdrm patch fixed it there. Looks like > > cirrusdrm trips over something else with ovmf due to the different > > firmware initialization code paths (QemuVideoDxe vs. vgabios). > > > > What happens if you use the csm build? > > Last time I tested: there was no love lost between CSM and S3, > independently of video card / driver :) The resume boot path decayed to > a reboot. I saw the log and ran screaming.
Ok. Scratch the idea then ;) > As I wrote in private, perhaps a full Cirrus "reprogramming" could be > necessary in the guest, after resume. Yes. In theory cirrus_crtc_mode_set() should do exactly that. In practice this function seems to be thrown together using the "tweak until it works" method, and it is incomplete. Doesn't trip up in testing in case vgabios initialized the cirrus, but hits after S3 resume. So I guess we have to wade through the cirrus init code in vgabios and find the init steps missing in cirrusdrm ... cheers, Gerd ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel