Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/gio Even more registers!
details: https://anonhg.NetBSD.org/src/rev/efb83c5d55d8
branches: trunk
changeset: 841457:efb83c5d55d8
user: macallan <macallan%NetBSD.org@localhost>
date: Thu May 16 23:42:23 2019 +0000
description:
Even more registers!
diffstat:
sys/arch/sgimips/gio/newportreg.h | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diffs (60 lines):
diff -r 36227223078e -r efb83c5d55d8 sys/arch/sgimips/gio/newportreg.h
--- a/sys/arch/sgimips/gio/newportreg.h Thu May 16 23:39:37 2019 +0000
+++ b/sys/arch/sgimips/gio/newportreg.h Thu May 16 23:42:23 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newportreg.h,v 1.8 2019/05/10 22:54:51 macallan Exp $ */
+/* $NetBSD: newportreg.h,v 1.9 2019/05/16 23:42:23 macallan Exp $ */
/*
* Copyright (c) 2003 Ilpo Ruotsalainen
@@ -145,6 +145,14 @@
#define REX3_REG_COLORBACK 0x0018
#define REX3_REG_COLORVRAM 0x001c
+#define REX3_REG_ALPHAREF 0x0020
+#define REX3_REG_STALL0 0x0024 /* stall until engine is idle */
+
+#define REX3_REG_SMASK0X 0x0028 /* min/max 16.16 */
+#define REX3_REG_SMASK0Y 0x002c /* min/max 16.16 */
+
+#define REX3_REG_SETUP 0x0030
+
#define REX3_REG_XSTART 0x0100
#define REX3_REG_XYMOVE 0x0114
@@ -162,6 +170,9 @@
#define REX3_REG_COLORI 0x0224
+#define REX3_REG_HOSTRW0 0x0230
+#define REX3_REG_HOSTRW1 0x0234
+
#define REX3_REG_DCBMODE 0x0238
#define REX3_DCBMODE_DW_MASK 0x00000003
#define REX3_DCBMODE_DW_4 0x00000000
@@ -190,6 +201,16 @@
/* Not really a register, but in the same space */
#define REX3_REG_GO 0x0800
+/* clipping regions, enable/disable in REG_CLIPMODE */
+#define REX3_REG_SMASK1X 0x1300 /* min/max 16.16 */
+#define REX3_REG_SMASK1Y 0x1304 /* min/max 16.16 */
+#define REX3_REG_SMASK2X 0x1308 /* min/max 16.16 */
+#define REX3_REG_SMASK2Y 0x130c /* min/max 16.16 */
+#define REX3_REG_SMASK3X 0x1310 /* min/max 16.16 */
+#define REX3_REG_SMASK3Y 0x1314 /* min/max 16.16 */
+#define REX3_REG_SMASK4X 0x1318 /* min/max 16.16 */
+#define REX3_REG_SMASK4Y 0x131c /* min/max 16.16 */
+
#define REX3_REG_TOPSCAN 0x1320
#define REX3_REG_XYWIN 0x1324
#define REX3_REG_CLIPMODE 0x1328
@@ -203,6 +224,8 @@
#define REX3_CLIPMODE_CIDMATCH2 0x0800
#define REX3_CLIPMODE_CIDMATCH3 0x1000
+#define REX3_REG_STALL1 0x132c
+#define REX3_REG_CONFIG 0x1330
#define REX3_REG_STATUS 0x1338
#define REX3_STATUS_GFXBUSY 0x00000008
Home |
Main Index |
Thread Index |
Old Index