changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: igfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)

changeset 4207: fa380b81e5f3
parent 4206: 44b6a964ebbd
child 4208: b6f4b8c40ab6
author: cinap_lenrek@felloff.net
date: Mon, 12 Jan 2015 16:52:49 +0100
files: sys/src/cmd/aux/vga/igfx.c
description: igfx: set the display/overlay/cursor plane override disbale bits for G45 (like bios)
     1.1--- a/sys/src/cmd/aux/vga/igfx.c
     1.2+++ b/sys/src/cmd/aux/vga/igfx.c
     1.3@@ -1004,6 +1004,10 @@ disablepipe(Igfx *igfx, int x)
     1.4 	csr(igfx, p->cur->cntr.a, 1<<5 | 7, 0);
     1.5 	csr(igfx, p->cur->base.a, ~0, 0);	/* arm */
     1.6 
     1.7+	/* display/overlay/cursor planes off */
     1.8+	if(igfx->type == TypeG45)
     1.9+		csr(igfx, p->conf.a, 0, 3<<18);
    1.10+
    1.11 	/* disable cpu pipe */
    1.12 	disabletrans(igfx, p);
    1.13