You can use this patch below to get the ATI 4850 and 4870 cards to work under 
Sun Xorg 7.2 using the Xorg ATI driver:

Ref: http://ati.amd.com/products/radeonhd4800/index.html

1. Get http://ftp.x.org/pub/individual/driver/xf86-video-ati-6.9.0.tar.gz
2. Apply this patch:
------------------
diff -Naur xf86-video-ati.orig/src/ati_pciids_gen.h 
xf86-video-ati/src/ati_pciids_gen.h
--- xf86-video-ati.orig/src/ati_pciids_gen.h    2008-06-26 12:51:15.000000000 
-0400
+++ xf86-video-ati/src/ati_pciids_gen.h 2008-06-26 12:56:47.000000000 -0400
@@ -378,3 +378,5 @@
 #define PCI_CHIP_RS780_9611 0x9611
 #define PCI_CHIP_RS780_9612 0x9612
 #define PCI_CHIP_RS780_9613 0x9613
+#define PCI_CHIP_RV770_9440 0x9440
+#define PCI_CHIP_RV770_9442 0x9442
diff -Naur xf86-video-ati.orig/src/radeon_chipinfo_gen.h 
xf86-video-ati/src/radeon_chipinfo_gen.h
--- xf86-video-ati.orig/src/radeon_chipinfo_gen.h       2008-06-26 
12:51:15.000000000 -0400
+++ xf86-video-ati/src/radeon_chipinfo_gen.h    2008-06-26 12:54:46.000000000 
-0400
@@ -298,4 +298,6 @@
  { 0x9611, CHIP_FAMILY_RS780, 0, 1, 0, 0, 1 },
  { 0x9612, CHIP_FAMILY_RS780, 0, 1, 0, 0, 1 },
  { 0x9613, CHIP_FAMILY_RS780, 0, 1, 0, 0, 1 },
+ { 0x9440, CHIP_FAMILY_RV770, 0, 1, 0, 0, 1 },
+ { 0x9442, CHIP_FAMILY_RV770, 0, 1, 0, 0, 1 },
 };
diff -Naur xf86-video-ati.orig/src/radeon_chipset_gen.h 
xf86-video-ati/src/radeon_chipset_gen.h
--- xf86-video-ati.orig/src/radeon_chipset_gen.h        2008-06-26 
12:51:15.000000000 -0400
+++ xf86-video-ati/src/radeon_chipset_gen.h     2008-06-26 12:55:15.000000000 
-0400
@@ -298,5 +298,7 @@
   { PCI_CHIP_RS780_9611, "ATI Radeon 3100 Graphics" },
   { PCI_CHIP_RS780_9612, "ATI Radeon HD 3200 Graphics" },
   { PCI_CHIP_RS780_9613, "ATI Radeon 3100 Graphics" },
+  { PCI_CHIP_RV770_9442, "ATI Radeon 4850" },
+  { PCI_CHIP_RV770_9440, "ATI Radeon 4870" },
   { -1,                 NULL }
 };
diff -Naur xf86-video-ati.orig/src/radeon.h xf86-video-ati/src/radeon.h
--- xf86-video-ati.orig/src/radeon.h    2008-06-26 12:51:15.000000000 -0400
+++ xf86-video-ati/src/radeon.h 2008-06-26 12:54:00.000000000 -0400
@@ -287,6 +287,7 @@
     CHIP_FAMILY_RV620,
     CHIP_FAMILY_RV635,
     CHIP_FAMILY_RS780,
+    CHIP_FAMILY_RV770,
     CHIP_FAMILY_LAST
 } RADEONChipFamily;
 
diff -Naur xf86-video-ati.orig/src/radeon_pci_chipset_gen.h 
xf86-video-ati/src/radeon_pci_chipset_gen.h
--- xf86-video-ati.orig/src/radeon_pci_chipset_gen.h    2008-06-26 
12:51:15.000000000 -0400
+++ xf86-video-ati/src/radeon_pci_chipset_gen.h 2008-06-26 12:55:38.000000000 
-0400
@@ -298,5 +298,7 @@
  { PCI_CHIP_RS780_9611, PCI_CHIP_RS780_9611, RES_SHARED_VGA },
  { PCI_CHIP_RS780_9612, PCI_CHIP_RS780_9612, RES_SHARED_VGA },
  { PCI_CHIP_RS780_9613, PCI_CHIP_RS780_9613, RES_SHARED_VGA },
+ { PCI_CHIP_RV770_9440, PCI_CHIP_RV770_9440, RES_SHARED_VGA },
+ { PCI_CHIP_RV770_9442, PCI_CHIP_RV770_9442, RES_SHARED_VGA },
  { -1,                 -1,                 RES_UNDEFINED }
 };
diff -Naur xf86-video-ati.orig/src/radeon_pci_device_match_gen.h 
xf86-video-ati/src/radeon_pci_device_match_gen.h
--- xf86-video-ati.orig/src/radeon_pci_device_match_gen.h       2008-06-26 
12:51:15.000000000 -0400
+++ xf86-video-ati/src/radeon_pci_device_match_gen.h    2008-06-26 
12:56:01.000000000 -0400
@@ -298,5 +298,7 @@
  ATI_DEVICE_MATCH( PCI_CHIP_RS780_9611, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_RS780_9612, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_RS780_9613, 0 ),
+ ATI_DEVICE_MATCH( PCI_CHIP_RV770_9440, 0 ),
+ ATI_DEVICE_MATCH( PCI_CHIP_RV770_9442, 0 ),
  { 0, 0, 0 }
 };

Let me know how it turns out for you:

~ Ken Mays
 
 
This message posted from opensolaris.org

Reply via email to