DSDT (hard233)

Código gráfico preparado por hard233 para incluir en DSDT (gráfica AMD Radeon 6850 1gb)

/*hard233*/

Device (PCI0)
{
		Name (_HID, EisaId ("PNP0A03"))
		Name (_UID, Zero)
		Name (_ADR, Zero)
		Name (_BBN, Zero)
		Method (_S3D, 0, NotSerialized)
		{
			If (LEqual (OSFL, 0x02))
			{
							Return (0x02)
			}
			Else
			{
							Return (0x03)
			}
		}
		Device (PEGP)
		{
			Name (_ADR, 0x00030000)
			Device (GFX0)
			{
					Name (_ADR, Zero)
					Method (_DSM, 4, NotSerialized)
					{
							Store (Package (0x42)
									{
									"@0,AAPL,boot-display",
									Buffer (0x04)
									{
											0x01, 0x00, 0x00, 0x00 /* Tarjeta principal */
									},
									"@0,compatible",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@0,connector-type",
									Buffer (0x04)
									{
											0x00, 0x04, 0x00, 0x00 /* Conector #0 tipo DisplayPort */
									},
									"@0,device_type",
									Buffer (0x08)
									{
											"display"
									},
									"@0,display-type",
									Buffer (0x05)
									{
											"NONE"
									},
									"@0,name",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@0,VRAM,memsize",
									Buffer (0x08)
									{
											/* 0000 */      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40 /* Memoria: 0x40 = 1GB (0x20 = 512MB, 0x10 = 256MB) */
									},
									"@1,compatible",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@1,connector-type",
									Buffer (0x04)
									{
											0x00, 0x80, 0x00, 0x00 /* Conector #1 tipo HDMI */
									},
									"@1,device_type",
									Buffer (0x08)
									{
											"display"
									},
									"@1,display-type",
									Buffer (0x05)
									{
											"NONE"
									},
									"@1,name",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@2,compatible",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@2,connector-type",
									Buffer (0x04)
									{
											0x04, 0x00, 0x00, 0x00 /* Conector #2 tipo DVI DualLink */
									},
									"@2,device_type",
									Buffer (0x08)
									{
											"display"
									},
									"@2,display-type",
									Buffer (0x05)
									{
											"NONE"
									},
									"@2,name",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@3,compatible",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"@3,connector-type",
									Buffer (0x04)
									{
											0x00, 0x02, 0x00, 0x00 /* Conector #3 tipo DVI SingleLink */
									},
									"@3,device_type",
									Buffer (0x08)
									{
											"display"
									},
									"@3,display-type",
									Buffer (0x05)
									{
											"NONE"
									},
									"@3,name",
									Buffer (0x0D)
									{
											"ATY,Duckweed" /* FrameBuffer */
									},
									"AAPL,aux-power-connected",
									Buffer (0x04)
									{
											0x01, 0x00, 0x00, 0x00 /* Tiene alimentación auxiliar */
									},
									"AAPL,slot-name",
									Buffer (0x09)
									{
											"PCIe x16" /* Tipo de conector PCI Express */
									},
									"ATY,Card#",
									Buffer (0x0F)
									{
											"113-E14802-X06"
									},
									"ATY,Copyright",
									Buffer (0x33)
									{
											"Copyright AMD Inc. All Rights Reserved. 2005-2008"
									},
									"ATY,Rom#",
									Buffer (0x0F)
									{
											"113-B7710C-176"
									},
									"ATY,VendorID",
									Buffer (0x02)
									{
											0x02, 0x10 /* VendorID de AMD */
									},

"ATY,DeviceID",
									Buffer (0x02)
									{
											0x39, 0x67 /* DeviceID de 6850 */
									},

									"device_type",
									Buffer (0x13)
									{
											"ATY,DuckweedParent"
									},
									"model",
									Buffer (0x16)
									{
											"ASUS EAH6850 DirectCU" /* Marca y modelo de tarjeta que se mostrará en Perfil de sistema*/
									},
									"name",
									Buffer (0x13)
									{
											"ATY,DuckweedParent"
									},
									"hda-gfx",
									Buffer (0x0A)
									{
											"onboard-1" /* Audio HDMI */
									}
								}, 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)
					}
			}
	}
Anuncios