Jump to content
aelsharawi

DSDT ,ATI 5670 HELP

Recommended Posts

i successfully edited dsdt for the card and its HDMI audi,but i need more help extracting the registry info from io registry of original 1TI 5670 card from original imac


http://pastebin.com/Cf1di2Vz




the above is the code it contains the bin image , frame buffer


I hope someone help me transfer this code to my DSDT


my current DSDT EDIT:

 

 Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x09,
                       0x05
                   })
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x0C)
                           {
                               "@0,name",
                               Buffer (0x0D)
                               {
                                   "ATY,Vervet"
                               },
                               "@1,name",
                               Buffer (0x0D)
                               {
                                   "ATY,Vervet"
                               },
                               "@2,name",
                               Buffer (0x0D)
                               {
                                   "ATY,Vervet"
                               },
                               "@3,name",
                               Buffer (0x0D)
                               {
                                   "ATY,Vervet"
                               },
                               "model",
                               Buffer (0x13)
                               {
                                   "ATI Radeon HD 5670"
                               },
                               "hda-gfx",
                               Buffer (0x0A)
                               {
                                   "onboard-1"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
               Device (HDAU)
               {
                   Name (_ADR, One)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x02)
                           {
                               "hda-gfx",
                               Buffer (0x0A)
                               {
                                   "onboard-1"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
               Method (_STA, 0, NotSerialized)
               {
                   Return (0x0F)
               }
               Name (PE00, Package (0x04)
               {
                   Package (0x04)
                   {
                       0xFFFF,
                       Zero,
                       LNKA,
                       Zero
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       One,
                       LNKB,
                       Zero
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       0x02,
                       LNKC,
                       Zero
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       0x03,
                       LNKD,
                       Zero
                   }
               })
               Name (AE00, Package (0x04)
               {
                   Package (0x04)
                   {
                       0xFFFF,
                       Zero,
                       Zero,
                       0x10
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       One,
                       Zero,
                       0x11
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       0x02,
                       Zero,
                       0x12
                   },
                   Package (0x04)
                   {
                       0xFFFF,
                       0x03,
                       Zero,
                       0x13
                   }
               })
               Method (_PRT, 0, NotSerialized)
               {
                   If (LNot (PICF))
                   {
                       Return (PE00)
                   }
                   Else
                   {
                       Return (AE00)
                   }
               }
           }

 

I also need to remove the 3 vervet devices port to be only one port ,how ???




thx in advance

Link to comment
Share on other sites

Is it my card Saphire HD 5870 1GB

 

            Device (PEGP)
           {
               Name (_ADR, 0x00010000)
               Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x09, 
                       0x05
                   })
                   OperationRegion (PEGH, PCI_Config, Zero, 0x40)
                   Field (PEGH, ByteAcc, NoLock, Preserve)
                   {
                       VID0,   16, 
                       DID0,   16
                   }
                   Method (_DSM, 4, NotSerialized)
                   {
                       If (LEqual (Arg0, Buffer (0x10)
                               {
                                   /* 0000 */   0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
                                   /* 0008 */   0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                               }))
                       {
                           If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
                           {
                               Store (Package (0x5C)
                                   {
                                       "@0,AAPL,boot-display", 
                                       Buffer (0x04)
                                       {
                                            0x01, 0x00, 0x00, 0x00
                                       }, 
                                       "@0,compatible", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "@0,connector-type", 
                                       Buffer (0x04)
                                       {
                                            0x00, 0x04, 0x00, 0x00
                                       }, 
                                       "@0,device_type", 
                                       Buffer (0x08)
                                       {
                                           "display"
                                       }, 
                                       "@0,display-type", 
                                       Buffer (0x05)
                                       {
                                           "NONE"
                                       }, 
                                       "@0,name", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "@0,VRAM,memsize", 
                                       Buffer (0x08)
                                       {
                                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
                                       }, 
                                       "@1,compatible", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "@1,connector-type", 
                                       Buffer (0x04)
                                       {
                                            0x04, 0x00, 0x00, 0x00
                                       }, 
                                       "@1,device_type", 
                                       Buffer (0x08)
                                       {
                                           "display"
                                       }, 
                                       "@1,display-type", 
                                       Buffer (0x05)
                                       {
                                           "NONE"
                                       }, 
                                       "@1,name", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "@2,compatible", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "@2,connector-type", 
                                       Buffer (0x04)
                                       {
                                            0x04, 0x00, 0x00, 0x00
                                       }, 
                                       "@2,device_type", 
                                       Buffer (0x08)
                                       {
                                           "display"
                                       }, 
                                       "@2,display-type", 
                                       Buffer (0x05)
                                       {
                                           "NONE"
                                       }, 
                                       "@2,name", 
                                       Buffer (0x0B)
                                       {
                                           "ATY,Uakari"
                                       }, 
                                       "AAPL,EMC-Display-List", 
                                       Buffer (0x40)
                                       {
                                           /* 0000 */   0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0008 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0010 */   0x06, 0x10, 0x00, 0x00, 0x1B, 0x92, 0x00, 0x00,
                                           /* 0018 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0020 */   0x06, 0x10, 0x00, 0x00, 0x1C, 0x92, 0x00, 0x00,
                                           /* 0028 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0030 */   0x06, 0x10, 0x00, 0x00, 0x21, 0x92, 0x00, 0x00,
                                           /* 0038 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                       }, 
                                       "AAPL,aux-power-connected", 
                                       Buffer (0x04)
                                       {
                                            0x01, 0x00, 0x00, 0x00
                                       }, 
                                       "AAPL,backlight-control", 
                                       Buffer (0x04)
                                       {
                                            0x00, 0x00, 0x00, 0x00
                                       }, 
                                       "AAPL,overwrite_binimage", 
                                       Buffer (One)
                                       {
                                            0x01
                                       }, 
                                       "AAPL,slot-name", 
                                       Buffer (0x09)
                                       {
                                           "PCIe x16"
                                       }, 
                                       "AAPL00,blackscreen-preferences", 
                                       Buffer (0x04)
                                       {
                                            0x00, 0x00, 0x00, 0x08
                                       }, 
                                       "AAPL01,Coherency", 
                                       Buffer (0x04)
                                       {
                                            0x02, 0x00, 0x00, 0x00
                                       }, 
                                       "AAPL01,blackscreen-preferences", 
                                       Buffer (0x04)
                                       {
                                            0x00, 0x00, 0x00, 0x08
                                       }, 
                                       "ATY,Card#", 
                                       Buffer (0x0E)
                                       {
                                           "109-B87101-00"
                                       }, 
                                       "ATY,Copyright", 
                                       Buffer (0x33)
                                       {
                                           "Copyright AMD Inc. All Rights Reserved. 2005-2012"
                                       }, 
                                       "ATY,EFICompileDate", 
                                       Buffer (0x0C)
                                       {
                                           "Aug 31 2010"
                                       }, 
                                       "ATY,EFIDispConfig", 
                                       Buffer (0x08)
                                       {
                                            0x0D, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                       }, 
                                       "ATY,EFIDriverType", 
                                       Buffer (One)
                                       {
                                            0x02
                                       }, 
                                       "ATY,EFIEnabledMode", 
                                       Buffer (One)
                                       {
                                            0x02
                                       }, 
                                       "ATY,EFIHWInitStatus", 
                                       Buffer (0x08)
                                       {
                                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                       }, 
                                       "ATY,EFIOrientation", 
                                       Buffer (0x02)
                                       {
                                            0x00, 0x01
                                       }, 
                                       "ATY,EFIVersion", 
                                       Buffer (0x17)
                                       {
                                           "012.020.000.001.036486"
                                       }, 
                                       "ATY,EFIVersionB", 
                                       Buffer (0x0F)
                                       {
                                           "113-B87101-012"
                                       }, 
                                       "ATY,EFIVersionE", 
                                       Buffer (0x0F)
                                       {
                                           "113-B8710A-318"
                                       }, 
                                       "ATY,MCLK", 
                                       Buffer (0x04)
                                       {
                                            0xC0, 0xD4, 0x01, 0x00
                                       }, 
                                       "ATY,MemRevisionID", 
                                       Buffer (0x02)
                                       {
                                            0x03, 0x00
                                       }, 
                                       "ATY,MemVendorID", 
                                       Buffer (0x02)
                                       {
                                            0x02, 0x00
                                       }, 
                                       "ATY,PlatformInfo", 
                                       Buffer (0x80)
                                       {
                                           /* 0000 */   0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0008 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0010 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0018 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0020 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0028 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0030 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0038 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0040 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0048 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0050 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0058 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0060 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0068 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0070 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                           /* 0078 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                       }, 
                                       "ATY,Rom#", 
                                       Buffer (0x0F)
                                       {
                                           "113-C00140-S5B"
                                       }, 
                                       "ATY,SCLK", 
                                       Buffer (0x04)
                                       {
                                            0x28, 0xDB, 0x0B, 0x00
                                       }, 
                                       "ATY,VendorID", 
                                       Buffer (0x02)
                                       {
                                            0x02, 0x10
                                       }, 
                                       "device_type", 
                                       Buffer (0x11)
                                       {
                                           "ATY,UakariParent"
                                       }, 
                                       "model", 
                                       Buffer (0x1A)
                                       {
                                           "ATI Radeon HD 5870 Series"
                                       }, 
                                       "name", 
                                       Buffer (0x11)
                                       {
                                           "ATY,UakariParent"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }
                       Return (0x80000002)
                   }
               }
               Device (HDAU)
               {
                   Name (_ADR, One)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x02)
                           {
                               "hda-gfx", 
                               Buffer (0x0A)
                               {
                                   "onboard-1"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
           }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...