diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-28 14:26:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-28 14:26:18 +0000 |
commit | c618f5bae4b3db7283aa6244b2204c584f465d1d (patch) | |
tree | 17a6cc1ee39c7f32a7259fcdb089d45dd178c752 /sys/arch | |
parent | bd4b3c2706cdd481117df15579e3819078a0fbf8 (diff) |
Add RI_FULLCLEAR to the rasops flags. Accelerated drivers (cgsix, creator,
pnozz) benefit from this, and this does not hurt the other drivers.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/fb.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/fb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index be3fe45602d..07a27db4c2e 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fb.c,v 1.24 2003/06/02 23:27:54 millert Exp $ */ +/* $OpenBSD: fb.c,v 1.25 2003/06/28 14:26:16 miod Exp $ */ /* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */ /* @@ -309,7 +309,7 @@ fbwscons_init(sf, isconsole) int cols, rows; /* ri_hw and ri_bits must have already been setup by caller */ - sf->sf_ro.ri_flg = RI_CENTER; + sf->sf_ro.ri_flg = RI_CENTER | RI_FULLCLEAR; if (!isconsole) sf->sf_ro.ri_flg |= RI_CLEAR; sf->sf_ro.ri_depth = sf->sf_depth; diff --git a/sys/arch/sparc64/dev/fb.c b/sys/arch/sparc64/dev/fb.c index c3a16df3b7c..b0fdacf7079 100644 --- a/sys/arch/sparc64/dev/fb.c +++ b/sys/arch/sparc64/dev/fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fb.c,v 1.2 2003/06/17 17:35:40 miod Exp $ */ +/* $OpenBSD: fb.c,v 1.3 2003/06/28 14:26:17 miod Exp $ */ /* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */ /* @@ -149,7 +149,7 @@ fbwscons_init(struct sunfb *sf, int flags) int cols, rows; /* ri_hw and ri_bits must have already been setup by caller */ - sf->sf_ro.ri_flg = RI_CENTER | flags; + sf->sf_ro.ri_flg = RI_CENTER | RI_FULLCLEAR | flags; sf->sf_ro.ri_depth = sf->sf_depth; sf->sf_ro.ri_stride = sf->sf_linebytes; sf->sf_ro.ri_width = sf->sf_width; |