diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-12 16:52:49 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-12 16:52:49 +0100 |
commit | 140f7b7fefc762ad6e8b5cb3b057a68fca640fd9 (patch) | |
tree | da8480802b632cfa3f2ed59a6a50c6bc68aea014 | |
parent | 54a1db15dc74a0c108073bec891b7ea7bf228e8e (diff) | |
download | plan9front-140f7b7fefc762ad6e8b5cb3b057a68fca640fd9.tar.xz |
igfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)
-rw-r--r-- | sys/src/cmd/aux/vga/igfx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/aux/vga/igfx.c b/sys/src/cmd/aux/vga/igfx.c index 9bae6365b..35b8f0915 100644 --- a/sys/src/cmd/aux/vga/igfx.c +++ b/sys/src/cmd/aux/vga/igfx.c @@ -1004,6 +1004,10 @@ disablepipe(Igfx *igfx, int x) 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); |