Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93f453f3 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

drm: add new mga ids and types



From: Ian Romanick <idr@us.ibm.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent cda17380
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -116,9 +116,10 @@
	{0, 0, 0}

#define mga_PCI_IDS \
	{0x102b, 0x0521, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
	{0x102b, 0x0525, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
	{0x102b, 0x2527, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
	{0x102b, 0x0520, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MGA_CARD_TYPE_G200}, \
	{0x102b, 0x0521, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MGA_CARD_TYPE_G200}, \
	{0x102b, 0x0525, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MGA_CARD_TYPE_G400}, \
	{0x102b, 0x2527, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MGA_CARD_TYPE_G550}, \
	{0, 0, 0}

#define mach64_PCI_IDS \
+2 −1
Original line number Diff line number Diff line
@@ -73,7 +73,8 @@

#define MGA_CARD_TYPE_G200	1
#define MGA_CARD_TYPE_G400	2

#define MGA_CARD_TYPE_G450	3       /* not currently used */
#define MGA_CARD_TYPE_G550	4

#define MGA_FRONT		0x1
#define MGA_BACK		0x2