summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-28 14:26:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-28 14:26:18 +0000
commitc618f5bae4b3db7283aa6244b2204c584f465d1d (patch)
tree17a6cc1ee39c7f32a7259fcdb089d45dd178c752 /sys/arch/sparc64/dev
parentbd4b3c2706cdd481117df15579e3819078a0fbf8 (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/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/fb.c4
1 files changed, 2 insertions, 2 deletions
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;