ref: 140f7b7fefc762ad6e8b5cb3b057a68fca640fd9
parent: 54a1db15dc74a0c108073bec891b7ea7bf228e8e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 12 11:52:49 EST 2015
igfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -1004,6 +1004,10 @@
csr(igfx, p->cur->cntr.a, 1<<5 | 7, 0);
csr(igfx, p->cur->base.a, ~0, 0); /* arm */
+ /* display/overlay/cursor planes off */
+ if(igfx->type == TypeG45)
+ csr(igfx, p->conf.a, 0, 3<<18);
+
/* disable cpu pipe */
disabletrans(igfx, p);