xref: /openbmc/linux/arch/parisc/include/asm/grfioctl.h (revision 653f3ea7)
11a59d1b8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2deae26bfSKyle McMartin /*  Architecture specific parts of HP's STI (framebuffer) driver.
3deae26bfSKyle McMartin  *  Structures are HP-UX compatible for XFree86 usage.
4deae26bfSKyle McMartin  *
5deae26bfSKyle McMartin  *    Linux/PA-RISC Project (http://www.parisc-linux.org/)
6deae26bfSKyle McMartin  *    Copyright (C) 2001 Helge Deller (deller a parisc-linux org)
7deae26bfSKyle McMartin  */
8deae26bfSKyle McMartin 
9deae26bfSKyle McMartin #ifndef __ASM_PARISC_GRFIOCTL_H
10deae26bfSKyle McMartin #define __ASM_PARISC_GRFIOCTL_H
11deae26bfSKyle McMartin 
12deae26bfSKyle McMartin /* upper 32 bits of graphics id (HP/UX identifier) */
13deae26bfSKyle McMartin 
14deae26bfSKyle McMartin #define GRFGATOR		8
15deae26bfSKyle McMartin #define S9000_ID_S300		9
16deae26bfSKyle McMartin #define GRFBOBCAT		9
17deae26bfSKyle McMartin #define	GRFCATSEYE		9
18deae26bfSKyle McMartin #define S9000_ID_98720		10
19deae26bfSKyle McMartin #define GRFRBOX			10
20deae26bfSKyle McMartin #define S9000_ID_98550		11
21deae26bfSKyle McMartin #define GRFFIREEYE		11
22deae26bfSKyle McMartin #define S9000_ID_A1096A		12
23deae26bfSKyle McMartin #define GRFHYPERION		12
24deae26bfSKyle McMartin #define S9000_ID_FRI		13
25deae26bfSKyle McMartin #define S9000_ID_98730		14
26deae26bfSKyle McMartin #define GRFDAVINCI		14
27deae26bfSKyle McMartin #define S9000_ID_98705		0x26C08070	/* Tigershark */
28deae26bfSKyle McMartin #define S9000_ID_98736		0x26D148AB
29deae26bfSKyle McMartin #define S9000_ID_A1659A		0x26D1482A	/* CRX 8 plane color (=ELK) */
30deae26bfSKyle McMartin #define S9000_ID_ELK		S9000_ID_A1659A
31deae26bfSKyle McMartin #define S9000_ID_A1439A		0x26D148EE	/* CRX24 = CRX+ (24-plane color) */
32deae26bfSKyle McMartin #define S9000_ID_A1924A		0x26D1488C	/* GRX gray-scale */
33deae26bfSKyle McMartin #define S9000_ID_ELM		S9000_ID_A1924A
34deae26bfSKyle McMartin #define S9000_ID_98765		0x27480DEF
35deae26bfSKyle McMartin #define S9000_ID_ELK_768	0x27482101
36deae26bfSKyle McMartin #define S9000_ID_STINGER	0x27A4A402
37deae26bfSKyle McMartin #define S9000_ID_TIMBER		0x27F12392	/* Bushmaster (710) Graphics */
38deae26bfSKyle McMartin #define S9000_ID_TOMCAT		0x27FCCB6D	/* dual-headed ELK (Dual CRX) */
39deae26bfSKyle McMartin #define S9000_ID_ARTIST		0x2B4DED6D	/* Artist (Gecko/712 & 715) onboard Graphics */
40deae26bfSKyle McMartin #define S9000_ID_HCRX		0x2BCB015A	/* Hyperdrive/Hyperbowl (A4071A) Graphics */
41deae26bfSKyle McMartin #define CRX24_OVERLAY_PLANES	0x920825AA	/* Overlay planes on CRX24 */
42deae26bfSKyle McMartin 
43deae26bfSKyle McMartin #define CRT_ID_ELK_1024		S9000_ID_ELK_768 /* Elk 1024x768  CRX */
44deae26bfSKyle McMartin #define CRT_ID_ELK_1280		S9000_ID_A1659A	/* Elk 1280x1024 CRX */
45deae26bfSKyle McMartin #define CRT_ID_ELK_1024DB	0x27849CA5      /* Elk 1024x768 double buffer */
46deae26bfSKyle McMartin #define CRT_ID_ELK_GS		S9000_ID_A1924A	/* Elk 1280x1024 GreyScale    */
47deae26bfSKyle McMartin #define CRT_ID_CRX24		S9000_ID_A1439A	/* Piranha */
48deae26bfSKyle McMartin #define CRT_ID_VISUALIZE_EG	0x2D08C0A7      /* Graffiti, A4450A (built-in B132+/B160L) */
49deae26bfSKyle McMartin #define CRT_ID_THUNDER		0x2F23E5FC      /* Thunder 1 VISUALIZE 48*/
50deae26bfSKyle McMartin #define CRT_ID_THUNDER2		0x2F8D570E      /* Thunder 2 VISUALIZE 48 XP*/
51deae26bfSKyle McMartin #define CRT_ID_HCRX		S9000_ID_HCRX	/* Hyperdrive HCRX */
52deae26bfSKyle McMartin #define CRT_ID_CRX48Z		S9000_ID_STINGER /* Stinger */
53deae26bfSKyle McMartin #define CRT_ID_DUAL_CRX		S9000_ID_TOMCAT	/* Tomcat */
54deae26bfSKyle McMartin #define CRT_ID_PVRX		S9000_ID_98705	/* Tigershark */
55deae26bfSKyle McMartin #define CRT_ID_TIMBER		S9000_ID_TIMBER	/* Timber (710 builtin) */
56deae26bfSKyle McMartin #define CRT_ID_TVRX		S9000_ID_98765	/* TVRX (gto/falcon) */
57deae26bfSKyle McMartin #define CRT_ID_ARTIST		S9000_ID_ARTIST	/* Artist */
58deae26bfSKyle McMartin #define CRT_ID_SUMMIT		0x2FC1066B      /* Summit FX2, FX4, FX6 ... */
59deae26bfSKyle McMartin #define CRT_ID_LEGO		0x35ACDA30	/* Lego FX5, FX10 ... */
60deae26bfSKyle McMartin #define CRT_ID_PINNACLE		0x35ACDA16	/* Pinnacle FXe */
61deae26bfSKyle McMartin 
62deae26bfSKyle McMartin #endif /* __ASM_PARISC_GRFIOCTL_H */
63