Advertisement
ritzcarltn

graphic glitches on Dual Asus R9 280x with 10.9.2

Jun 23rd, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.86 KB | None | 0 0
  1. DefinitionBlock ("SSDT.aml", "SSDT", 1, "Test", "amitest", 0x00008000)
  2. {
  3. External (C00B)
  4. External (C00A)
  5. External (C009)
  6. External (C008)
  7. External (C007)
  8. External (C006)
  9. External (C005)
  10. External (C004)
  11. External (C003)
  12. External (C002)
  13. External (C001)
  14. External (C000)
  15. External (SMB_, DeviceObj)
  16. External (PEX1, DeviceObj)
  17. External (PEX0, DeviceObj)
  18. External (NPE3, DeviceObj)
  19. External (NPE7, DeviceObj)
  20. External (PCI0, DeviceObj)
  21. External (\_SB_.PWRB)
  22. Scope (\_SB)
  23. {
  24. Device (VSND)
  25. {
  26. Name (_HID, EisaId ("APP0007"))
  27. Name (_CID, "virtual-sound")
  28. Name (_STA, 0x0B)
  29. Method (_DSM, 4, NotSerialized)
  30. {
  31. Store (Package (0x02)
  32. {
  33. "hda-gfx",
  34. Buffer (0x0A)
  35. {
  36. "onboard-4"
  37. }
  38. }, Local0)
  39. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  40. Return (Local0)
  41. }
  42. }
  43. Scope (PCI0)
  44. {
  45. Device (FWHD)
  46. {
  47. Name (_HID, EisaId ("INT0800"))
  48. Name (_CRS, ResourceTemplate ()
  49. {
  50. Memory32Fixed (ReadOnly,
  51. 0xFF000000, // Address Base
  52. 0x01000000, // Address Length
  53. )
  54. })
  55. }
  56. Device (HDEF)
  57. {
  58. Name (_ADR, 0x001B0000)
  59. Method (_DSM, 4, NotSerialized)
  60. {
  61. Store (Package (0x06)
  62. {
  63. "hda-gfx",
  64. Buffer (0x0A)
  65. {
  66. "onboard-3"
  67. },
  68. "layout-id",
  69. Buffer (0x04)
  70. {
  71. 0x01, 0x00, 0x00, 0x00
  72. },
  73. "PinConfigurations",
  74. Buffer (Zero) {}
  75. }, Local0)
  76. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  77. Return (Local0)
  78. }
  79. }
  80. Scope (NPE7)
  81. {
  82. Device (PEGX)
  83. {
  84. Name (_ADR, Zero)
  85. Name (_SUN, One)
  86. Device (PCI1)
  87. {
  88. Name (_ADR, 0x00100000)
  89. Device (GFX1)
  90. {
  91. Name (_ADR, Zero)
  92. Method (_DSM, 4, NotSerialized)
  93. {
  94. Store (Package (0x04)
  95. {
  96. "AAPL,slot-name",
  97. Buffer (0x07)
  98. {
  99. "Slot-1"
  100. },
  101. "hda-gfx",
  102. Buffer (0x0A)
  103. {
  104. "onboard-1"
  105. }
  106. }, Local0)
  107. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  108. Return (Local0)
  109. }
  110. }
  111. Device (HDAU)
  112. {
  113. Name (_ADR, One)
  114. Method (_DSM, 4, NotSerialized)
  115. {
  116. Store (Package (0x02)
  117. {
  118. "hda-gfx",
  119. Buffer (0x0A)
  120. {
  121. "onboard-1"
  122. }
  123. }, Local0)
  124. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  125. Return (Local0)
  126. }
  127. }
  128. }
  129. Device (PCI2)
  130. {
  131. Name (_ADR, 0x00080000)
  132. }
  133. }
  134. }
  135. Scope (NPE3)
  136. {
  137. Device (PEGX)
  138. {
  139. Name (_ADR, Zero)
  140. Name (_SUN, One)
  141. Device (PCI1)
  142. {
  143. Name (_ADR, 0x00100000)
  144. Device (GFX2)
  145. {
  146. Name (_ADR, Zero)
  147. Method (_DSM, 4, NotSerialized)
  148. {
  149. Store (Package (0x04)
  150. {
  151. "AAPL,slot-name",
  152. Buffer (0x07)
  153. {
  154. "Slot-2"
  155. },
  156. "hda-gfx",
  157. Buffer (0x0A)
  158. {
  159. "onboard-2"
  160. }
  161. }, Local0)
  162. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  163. Return (Local0)
  164. }
  165. }
  166. Device (HDAU)
  167. {
  168. Name (_ADR, One)
  169. Method (_DSM, 4, NotSerialized)
  170. {
  171. Store (Package (0x02)
  172. {
  173. "hda-gfx",
  174. Buffer (0x0A)
  175. {
  176. "onboard-2"
  177. }
  178. }, Local0)
  179. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  180. Return (Local0)
  181. }
  182. }
  183. }
  184. Device (PCI2)
  185. {
  186. Name (_ADR, 0x00080000)
  187. }
  188. }
  189. }
  190. Scope (PEX0)
  191. {
  192. Device (GIGE)
  193. {
  194. Name (_ADR, Zero)
  195. OperationRegion (GPIO, SystemIO, 0x0800, 0x06)
  196. Field (GPIO, ByteAcc, NoLock, Preserve)
  197. {
  198. GO01, 8,
  199. GO02, 8,
  200. GO03, 8,
  201. GO04, 8,
  202. GO05, 8,
  203. GP45, 1,
  204. GP9, 1
  205. }
  206. Method (EWOL, 1, NotSerialized)
  207. {
  208. If (LEqual (Arg0, One))
  209. {
  210. Or (GP9, One, GP9)
  211. }
  212. Else
  213. {
  214. And (GP9, Zero, GP9)
  215. }
  216. If (LEqual (Arg0, GP9))
  217. {
  218. Return (Zero)
  219. }
  220. Else
  221. {
  222. Return (One)
  223. }
  224. }
  225. Method (_DSM, 4, NotSerialized)
  226. {
  227. Store (Package (0x0A)
  228. {
  229. "AAPL,slot-name",
  230. Buffer (0x09)
  231. {
  232. "Internal"
  233. },
  234. "built-in",
  235. Buffer (One)
  236. {
  237. 0x01
  238. },
  239. "device_type",
  240. Buffer (0x14)
  241. {
  242. "Ethernet Controller"
  243. },
  244. "model",
  245. Buffer (0x1E)
  246. {
  247. "Intel(R) 82579V PCI-E Gigabit"
  248. },
  249. "name",
  250. Buffer (0x14)
  251. {
  252. "Ethernet Controller"
  253. }
  254. }, Local0)
  255. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  256. Return (Local0)
  257. }
  258. }
  259. }
  260. Scope (PEX1)
  261. {
  262. Device (GIGE)
  263. {
  264. Name (_ADR, Zero)
  265. OperationRegion (GPIO, SystemIO, 0x0800, 0x06)
  266. Field (GPIO, ByteAcc, NoLock, Preserve)
  267. {
  268. GO01, 8,
  269. GO02, 8,
  270. GO03, 8,
  271. GO04, 8,
  272. GO05, 8,
  273. GP45, 1,
  274. GP9, 1
  275. }
  276. Method (EWOL, 1, NotSerialized)
  277. {
  278. If (LEqual (Arg0, One))
  279. {
  280. Or (GP9, One, GP9)
  281. }
  282. Else
  283. {
  284. And (GP9, Zero, GP9)
  285. }
  286. If (LEqual (Arg0, GP9))
  287. {
  288. Return (Zero)
  289. }
  290. Else
  291. {
  292. Return (One)
  293. }
  294. }
  295. Method (_DSM, 4, NotSerialized)
  296. {
  297. Store (Package (0x0A)
  298. {
  299. "AAPL,slot-name",
  300. Buffer (0x09)
  301. {
  302. "Internal"
  303. },
  304. "built-in",
  305. Buffer (One)
  306. {
  307. 0x01
  308. },
  309. "device_type",
  310. Buffer (0x14)
  311. {
  312. "Ethernet Controller"
  313. },
  314. "model",
  315. Buffer (0x1E)
  316. {
  317. "Intel(R) 82579V PCI-E Gigabit"
  318. },
  319. "name",
  320. Buffer (0x14)
  321. {
  322. "Ethernet Controller"
  323. }
  324. }, Local0)
  325. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  326. Return (Local0)
  327. }
  328. }
  329. }
  330. Scope (SMB)
  331. {
  332. Device (BUS0)
  333. {
  334. Name (_CID, "smbus")
  335. Name (_ADR, Zero)
  336. }
  337. Device (BUS1)
  338. {
  339. Name (_CID, "smbus")
  340. Name (_ADR, One)
  341. }
  342. }
  343. }
  344. }
  345. Device (GCON)
  346. {
  347. OperationRegion (GPIO, SystemIO, 0x0500, 0x64)
  348. Field (GPIO, ByteAcc, NoLock, Preserve)
  349. {
  350. GP06, 1
  351. }
  352. Name (_HID, EisaId ("APP000B"))
  353. Name (_CID, "gcon")
  354. Name (_STA, 0x0B)
  355. Name (_CRS, ResourceTemplate ()
  356. {
  357. IO (Decode16,
  358. 0x0700, // Range Minimum
  359. 0x07FF, // Range Maximum
  360. 0x01, // Alignment
  361. 0xFF, // Length
  362. )
  363. })
  364. Name (_PRW, Package (0x02)
  365. {
  366. 0x16,
  367. 0x04
  368. })
  369. Name (GMGP, 0x16)
  370. Method (GMSP, 1, NotSerialized)
  371. {
  372. If (LLessEqual (Arg0, One))
  373. {
  374. Or (GP06, Arg0, GP06)
  375. }
  376. }
  377. Method (GMLV, 0, NotSerialized)
  378. {
  379. Return (GP06)
  380. }
  381. }
  382. Device (EC)
  383. {
  384. Name (_HID, EisaId ("PNP0C09"))
  385. Name (_UID, Zero)
  386. Name (_CRS, ResourceTemplate ()
  387. {
  388. IO (Decode16,
  389. 0x0062, // Range Minimum
  390. 0x0062, // Range Maximum
  391. 0x00, // Alignment
  392. 0x01, // Length
  393. )
  394. IO (Decode16,
  395. 0x0066, // Range Minimum
  396. 0x0066, // Range Maximum
  397. 0x00, // Alignment
  398. 0x01, // Length
  399. )
  400. })
  401. Name (_GPE, 0x17)
  402. Name (ECOK, Zero)
  403. OperationRegion (ECOR, EmbeddedControl, Zero, 0xFF)
  404. Field (ECOR, ByteAcc, Lock, Preserve)
  405. {
  406. ECVS, 8,
  407. Offset (0x02),
  408. Offset (0x03),
  409. G3HT, 1,
  410. Offset (0x04),
  411. WBCB, 1,
  412. DSLP, 1,
  413. Offset (0x05),
  414. Offset (0x06),
  415. WKRS, 8,
  416. Offset (0x10),
  417. ECSS, 8,
  418. PLIM, 8,
  419. ALB0, 8,
  420. ALB1, 8,
  421. WTLB, 8,
  422. WTMB, 8,
  423. Offset (0x20),
  424. SPTR, 8,
  425. SSTS, 8,
  426. SADR, 8,
  427. SCMD, 8,
  428. SBFR, 256,
  429. SCNT, 8,
  430. SAAD, 8,
  431. SAD0, 8,
  432. SAD1, 8,
  433. SMUX, 8,
  434. Offset (0x60),
  435. ELSW, 1,
  436. EACP, 1,
  437. ECDI, 1,
  438. ENMI, 1,
  439. Offset (0x61),
  440. EMHP, 1,
  441. Offset (0x62),
  442. Offset (0x63),
  443. Offset (0x64),
  444. SWLO, 1,
  445. SWLC, 1,
  446. SWAI, 1,
  447. SWAR, 1,
  448. SWCI, 1,
  449. SWCE, 1,
  450. SWMI, 1,
  451. SWMR, 1,
  452. SWPB, 1,
  453. SWGP, 1,
  454. SWPM, 1,
  455. SWWT, 1,
  456. SWLB, 1,
  457. Offset (0x66),
  458. Offset (0x67),
  459. Offset (0x68),
  460. EWLO, 1,
  461. EWLC, 1,
  462. EWAI, 1,
  463. EWAR, 1,
  464. EWCI, 1,
  465. EWCE, 1,
  466. EWMI, 1,
  467. EWMR, 1,
  468. EWPB, 1,
  469. EWGP, 1,
  470. EWPM, 1,
  471. ENWT, 1,
  472. EWLB, 1,
  473. Offset (0x6A),
  474. Offset (0x6B),
  475. Offset (0x6C),
  476. LWLO, 1,
  477. LWLC, 1,
  478. LWAI, 1,
  479. LWAR, 1,
  480. LWCI, 1,
  481. LWCE, 1,
  482. LWMI, 1,
  483. LWMR, 1,
  484. LWPB, 1,
  485. LWGP, 1,
  486. LWPM, 1,
  487. LWWT, 1,
  488. LWLB, 1,
  489. Offset (0x6E),
  490. Offset (0x6F),
  491. Offset (0x70)
  492. }
  493. Field (ECOR, ByteAcc, Lock, Preserve)
  494. {
  495. Offset (0x03),
  496. G3AD, 1,
  497. BLOD, 1,
  498. S4WE, 1,
  499. Offset (0x04),
  500. Offset (0x6C),
  501. LWE0, 8,
  502. LWE1, 8,
  503. LWE2, 8,
  504. LWE3, 8
  505. }
  506. Field (ECOR, ByteAcc, Lock, Preserve)
  507. {
  508. Offset (0x24),
  509. SBDW, 16,
  510. Offset (0x46),
  511. SADW, 16
  512. }
  513. Method (WAKE, 0, NotSerialized)
  514. {
  515. If (ECOK)
  516. {
  517. Return (WKRS)
  518. }
  519. Else
  520. {
  521. Return (Zero)
  522. }
  523. }
  524. Method (_Q5A, 0, NotSerialized)
  525. {
  526. Notify (\_SB.PWRB, 0x80)
  527. }
  528. Method (_Q80, 0, NotSerialized)
  529. {
  530. Notify (C000, 0x80)
  531. Notify (C001, 0x80)
  532. Notify (C002, 0x80)
  533. Notify (C003, 0x80)
  534. Notify (C004, 0x80)
  535. Notify (C005, 0x80)
  536. Notify (C006, 0x80)
  537. Notify (C007, 0x80)
  538. Notify (C008, 0x80)
  539. Notify (C009, 0x80)
  540. Notify (C00A, 0x80)
  541. Notify (C00B, 0x80)
  542. }
  543. Method (_REG, 2, NotSerialized)
  544. {
  545. If (LOr (LEqual (Arg0, 0x03), Zero))
  546. {
  547. Store (Arg1, ECOK)
  548. If (LEqual (Arg1, One))
  549. {
  550. Store (Zero, ECSS)
  551. }
  552. }
  553. }
  554. }
  555. Method (DTGP, 5, NotSerialized)
  556. {
  557. If (LEqual (Arg0, Buffer (0x10)
  558. {
  559. /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
  560. /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
  561. }))
  562. {
  563. If (LEqual (Arg1, One))
  564. {
  565. If (LEqual (Arg2, Zero))
  566. {
  567. Store (Buffer (One)
  568. {
  569. 0x03
  570. }, Arg4)
  571. Return (One)
  572. }
  573. If (LEqual (Arg2, One))
  574. {
  575. Return (One)
  576. }
  577. }
  578. }
  579. Store (Buffer (One)
  580. {
  581. 0x00
  582. }, Arg4)
  583. Return (Zero)
  584. }
  585. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement