[Mesa-dev] [PATCH] Add G92 [GeForce 8800 GT] to egl_dri2 dri2_driver_map

Darxus at chaosreigns.com Darxus at chaosreigns.com
Sat Nov 20 11:41:17 PST 2010


Adds this card to the egl_dri2 dri2_driver_map:
05:00.0 VGA compatible controller [0300]: nVidia Corporation G92 [GeForce 8800 GT] [10de:0611] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. Device [3842:c801]

---
 src/egl/drivers/dri2/egl_dri2.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index a83f32b..b4f054e 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -1351,6 +1351,10 @@ const int r600_chip_ids[] = {
    0x689D, /* PCI_CHIP_HEMLOCK_689D */
 };
 
+const int nouveau_chip_ids[] = {
+   0x0611, /* G92 [GeForce 8800 GT] */
+};
+
 const struct dri2_driver_map driver_map[] = {
    { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) },
    { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) },
@@ -1358,6 +1362,7 @@ const struct dri2_driver_map driver_map[] = {
    { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) },
    { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) },
    { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
+   { 0x10de, "nouveau", nouveau_chip_ids, ARRAY_SIZE(nouveau_chip_ids) },
 };
 
 static char *

-- 
"It's never too late to panic."
http://www.ChaosReigns.com


More information about the mesa-dev mailing list