DSDT (shiecldk)

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


/*shiecldk*/
Device (GFX0)
{
	Name (_ADR, Zero)
	Method (_DSM, 4, NotSerialized)
	{
		Store (Package (0x82)
			{
				"@0,AAPL,boot-display", 
				Buffer (0x04)
				{
					0x01, 0x00, 0x00, 0x00
				}, 

				"@0,AAPL,vram-memory", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
				}, 

				"@0,VRAM,memsize", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x40
				}, 

				"@0,compatible", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@0,connector-type", 
				Buffer (0x04)
				{
					0x00, 0x04, 0x00, 0x00
				}, 

				"@0,device_type", 
				Buffer (0x08)
				{
					"display"
				}, 

				"@0,display-bpc", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x00
				}, 

				"@0,display-connect-flags", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x00
				}, 

				"@0,display-type", 
				Buffer (0x05)
				{
					"NONE"
				}, 

				"@0,name", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@1,AAPL,vram-memory", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
				}, 

				"@1,VRAM,memsize", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
				}, 

				"@1,compatible", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@1,connector-type", 
				Buffer (0x04)
				{
					0x00, 0x08, 0x00, 0x00
				}, 

				"@1,device_type", 
				Buffer (0x08)
				{
					"display"
				}, 

				"@1,display-type", 
				Buffer (0x05)
				{
					"NONE"
				}, 

				"@1,name", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@2,AAPL,vram-memory", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
				}, 

				"@2,VRAM,memsize", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
				}, 

				"@2,compatible", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@2,connector-type", 
				Buffer (0x04)
				{
					0x04, 0x00, 0x00, 0x00
				}, 

				"@2,device_type", 
				Buffer (0x08)
				{
					"display"
				}, 

				"@2,display-type", 
				Buffer (0x05)
				{
					"NONE"
				}, 

				"@2,name", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@3,AAPL,vram-memory", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x10
				}, 

				"@3,VRAM,memsize", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40
				}, 

				"@3,compatible", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"@3,connector-type", 
				Buffer (0x04)
				{
					0x00, 0x02, 0x00, 0x00
				}, 

				"@3,device_type", 
				Buffer (0x08)
				{
					"display"
				}, 

				"@3,display-type", 
				Buffer (0x05)
				{
					"NONE"
				}, 

				"@3,name", 
				Buffer (0x0D)
				{
					"ATY,Duckweed"
				}, 

				"AAPL,slot-name", 
				Buffer (0x07)
				{
					"Slot-1"
				}, 

				"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
				}, 

				"AAPL00,blackscreen-preferences", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x08
				}, 

				"AAPL01,blackscreen-preferences", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x08
				}, 

				"AAPL02,Coherency", 
				Buffer (0x04)
				{
					0x02, 0x00, 0x00, 0x00
				}, 

				"AAPL02,blackscreen-preferences", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x08
				}, 

				"ATY,Card#", 
				Buffer (0x0E)
				{
					"109-C29602-00"
				}, 

				"ATY,Copyright", 
				Buffer (0x33)
				{
					"Copyright AMD Inc. All Rights Reserved. 2005-2013"
				}, 

				"ATY,DeviceID", 
				Buffer (0x02)
				{
					0x39, 0x67
				}, 

				"ATY,EFI-dpcd-post-training", 
				Buffer (0x06)
				{
					0x77, 0x77, 0x01, 0x00, 0x00, 0x00
				}, 

				"ATY,EFI-dpcd-training-reslut", 
				Buffer (0x09)
				{
					/* 0000 */    0x0A, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 
					/* 0008 */    0x01
				}, 

				"ATY,EFICompileDate", 
				Buffer (0x0C)
				{
					"Apr 14 2012"
				}, 

				"ATY,EFIDispConfig", 
				Buffer (0x08)
				{
					/* 0000 */    0x0D, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
				}, 

				"ATY,EFIDriverType", 
				Buffer (One)
				{
					0x02
				}, 

				"ATY,EFIEnabledMode", 
				Buffer (One)
				{
					0x01
				}, 

				"ATY,EFIHWInitStatus", 
				Buffer (0x08)
				{
					/* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
				}, 

				"ATY,EFIOrientation", 
				Buffer (0x02)
				{
					0x01, 0x00
				}, 

				"ATY,EFIVersion", 
				Buffer (0x0A)
				{
					"01.00.507"
				}, 

				"ATY,EFIVersionB", 
				Buffer (0x11)
				{
					"113-SR2G06-102"
				}, 

				"ATY,EFIVersionE", 
				Buffer (0x0F)
				{
					"113-C2960J-507"
				}, 

				"ATY,MRT", 
				Buffer (One)
				{
					0x00
				}, 

				"ATY,MemRevisionID", 
				Buffer (0x02)
				{
					0x0F, 0x00
				}, 

				"ATY,MemVendorID", 
				Buffer (0x02)
				{
					0x01, 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 (0x10)
				{
					"113-AD03300-102"
				}, 

				"ATY,VendorID", 
				Buffer (0x02)
				{
					0x02, 0x10
				}, 

				"MVAD", 
				Buffer (0x40)
				{
					/* 0000 */    0x3E, 0x04, 0x02, 0xB8, 0xFF, 0x90, 0x00, 0x88, 
					/* 0008 */    0x00, 0x30, 0x02, 0xD9, 0x3F, 0x07, 0x00, 0x00, 
					/* 0010 */    0x56, 0x5E, 0x00, 0x0A, 0xA0, 0x0A, 0x30, 0x00, 
					/* 0018 */    0x20, 0x00, 0xA0, 0x05, 0xC9, 0x05, 0x03, 0x00, 
					/* 0020 */    0x05, 0x00, 0xA0, 0x05, 0x00, 0x0A, 0x50, 0x01, 
					/* 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
				}, 

				"VRAM,totalsize", 
				Buffer (0x04)
				{
					0x00, 0x00, 0x00, 0x40
				}, 

				"device_type", 
				Buffer (0x13)
				{
					"ATY,DuckweedParent"
				}, 

				"model", 
				Buffer (0x13)
				{
					"AMD Radeon HD 6850"
				}, 

				"name", 
				Buffer (0x13)
				{
					"ATY,DuckweedParent"
				}, 

				"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)
	}
}