Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface Book (Performance Base) #9

Closed
fematarazzo opened this issue Aug 4, 2020 · 1 comment
Closed

Surface Book (Performance Base) #9

fematarazzo opened this issue Aug 4, 2020 · 1 comment

Comments

@fematarazzo
Copy link

Here is my acpidump.out file:

acpidump.out.txt

@kitakar5525
Copy link
Member

kitakar5525 commented Aug 4, 2020

Thanks!

Hmm, I don't see much difference... The only difference in DSDT is Audio stuff.

Here is the diff between yours and acpidumps/surface_book_1@06af24db for reference:

diff

#
# ignoring acpidump.out and hunks that only contain disassembler version
# and disassembly date difference.
#
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/bgrt.dsl b/surface_book_1_acpidumps@06af24db/bgrt.dsl
index 9fbb37e..d03b380 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/bgrt.dsl
+++ b/surface_book_1_acpidumps@06af24db/bgrt.dsl
@ -13,7 +13,7 @@
 [000h 0000   4]                    Signature : "BGRT"    [Boot Graphics Resource Table]
 [004h 0004   4]                 Table Length : 00000038
 [008h 0008   1]                     Revision : 01
-[009h 0009   1]                     Checksum : 21
+[009h 0009   1]                     Checksum : A4
 [00Ah 0010   6]                       Oem ID : "MSFT  "
 [010h 0016   8]                 Oem Table ID : "MSFT    "
 [018h 0024   4]                 Oem Revision : 00000002
@@ -25,13 +25,13 @@
                                    Displayed : 1
                           Orientation Offset : 0
 [027h 0039   1]                   Image Type : 00
-[028h 0040   8]                Image Address : 0000000088FDA018
+[028h 0040   8]                Image Address : 0000000089013000
 [030h 0048   4]                Image OffsetX : 000004C4
 [034h 0052   4]                Image OffsetY : 0000039E
 
 Raw Table Data: Length 56 (0x38)
 
-    0000: 42 47 52 54 38 00 00 00 01 21 4D 53 46 54 20 20  // BGRT8....!MSFT  
+    0000: 42 47 52 54 38 00 00 00 01 A4 4D 53 46 54 20 20  // BGRT8.....MSFT  
     0010: 4D 53 46 54 20 20 20 20 02 00 00 00 4D 53 46 54  // MSFT    ....MSFT
-    0020: 5F 00 00 00 01 00 01 00 18 A0 FD 88 00 00 00 00  // _...............
+    0020: 5F 00 00 00 01 00 01 00 00 30 01 89 00 00 00 00  // _........0......
     0030: C4 04 00 00 9E 03 00 00                          // ........
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/dmar.dsl b/surface_book_1_acpidumps@06af24db/dmar.dsl
index fb3e1b3..3cee73c 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/dmar.dsl
+++ b/surface_book_1_acpidumps@06af24db/dmar.dsl
@@ -11,9 +11,9 @@
  */
 
 [000h 0000   4]                    Signature : "DMAR"    [DMA Remapping table]
-[004h 0004   4]                 Table Length : 00000118
+[004h 0004   4]                 Table Length : 00000138
 [008h 0008   1]                     Revision : 01
-[009h 0009   1]                     Checksum : 40
+[009h 0009   1]                     Checksum : 0B
 [00Ah 0010   6]                       Oem ID : "MSFT  "
 [010h 0016   8]                 Oem Table ID : "MSFT    "
 [018h 0024   4]                 Oem Revision : 00000001
@@ -108,8 +108,8 @@
 
 [08Ch 0140   2]                     Reserved : 0000
 [08Eh 0142   2]           PCI Segment Number : 0000
-[090h 0144   8]                 Base Address : 000000008D000000
-[098h 0152   8]          End Address (limit) : 000000008F7FFFFF
+[090h 0144   8]                 Base Address : 000000003E2E0000
+[098h 0152   8]          End Address (limit) : 000000003E2FFFFF
 
 [0A0h 0160   1]            Device Scope Type : 01 [PCI Endpoint Device]
 [0A1h 0161   1]                 Entry Length : 08
@@ -117,40 +117,57 @@
 [0A4h 0164   1]               Enumeration ID : 00
 [0A5h 0165   1]               PCI Bus Number : 00
 
-[0A6h 0166   2]                     PCI Path : 02,00
+[0A6h 0166   2]                     PCI Path : 14,00
 
 
-[0A8h 0168   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
-[0AAh 0170   2]                       Length : 001C
+[0A8h 0168   2]                Subtable Type : 0001 [Reserved Memory Region]
+[0AAh 0170   2]                       Length : 0020
 
-[0ACh 0172   3]                     Reserved : 000000
-[0AFh 0175   1]                Device Number : 01
-[0B0h 0176  15]                  Device Name : "\_SB.PCI0.I2C0"
+[0ACh 0172   2]                     Reserved : 0000
+[0AEh 0174   2]           PCI Segment Number : 0000
+[0B0h 0176   8]                 Base Address : 000000008D000000
+[0B8h 0184   8]          End Address (limit) : 000000008F7FFFFF
 
-[0C4h 0196   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
-[0C6h 0198   2]                       Length : 001C
+[0C0h 0192   1]            Device Scope Type : 01 [PCI Endpoint Device]
+[0C1h 0193   1]                 Entry Length : 08
+[0C2h 0194   2]                     Reserved : 0000
+[0C4h 0196   1]               Enumeration ID : 00
+[0C5h 0197   1]               PCI Bus Number : 00
 
-[0C8h 0200   3]                     Reserved : 000000
-[0CBh 0203   1]                Device Number : 02
-[0CCh 0204  15]                  Device Name : "\_SB.PCI0.I2C1"
+[0C6h 0198   2]                     PCI Path : 02,00
 
-[0E0h 0224   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
-[0E2h 0226   2]                       Length : 001C
 
-[0E4h 0228   3]                     Reserved : 000000
-[0E7h 0231   1]                Device Number : 03
-[0E8h 0232  15]                  Device Name : "\_SB.PCI0.I2C2"
+[0C8h 0200   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
+[0CAh 0202   2]                       Length : 001C
 
-[0FCh 0252   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
-[0FEh 0254   2]                       Length : 001C
+[0CCh 0204   3]                     Reserved : 000000
+[0CFh 0207   1]                Device Number : 01
+[0D0h 0208  15]                  Device Name : "\_SB.PCI0.I2C0"
 
-[100h 0256   3]                     Reserved : 000000
-[103h 0259   1]                Device Number : 04
-[104h 0260  15]                  Device Name : "\_SB.PCI0.I2C3"
+[0E4h 0228   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
+[0E6h 0230   2]                       Length : 001C
 
-Raw Table Data: Length 280 (0x118)
+[0E8h 0232   3]                     Reserved : 000000
+[0EBh 0235   1]                Device Number : 02
+[0ECh 0236  15]                  Device Name : "\_SB.PCI0.I2C1"
 
-    0000: 44 4D 41 52 18 01 00 00 01 40 4D 53 46 54 20 20  // DMAR.....@MSFT  
+[100h 0256   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
+[102h 0258   2]                       Length : 001C
+
+[104h 0260   3]                     Reserved : 000000
+[107h 0263   1]                Device Number : 03
+[108h 0264  15]                  Device Name : "\_SB.PCI0.I2C2"
+
+[11Ch 0284   2]                Subtable Type : 0004 [ACPI Namespace Device Declaration]
+[11Eh 0286   2]                       Length : 001C
+
+[120h 0288   3]                     Reserved : 000000
+[123h 0291   1]                Device Number : 04
+[124h 0292  15]                  Device Name : "\_SB.PCI0.I2C3"
+
+Raw Table Data: Length 312 (0x138)
+
+    0000: 44 4D 41 52 38 01 00 00 01 0B 4D 53 46 54 20 20  // DMAR8.....MSFT  
     0010: 4D 53 46 54 20 20 20 20 01 00 00 00 49 4E 54 4C  // MSFT    ....INTL
     0020: 01 00 00 00 26 01 00 00 00 00 00 00 00 00 00 00  // ....&...........
     0030: 00 00 18 00 00 00 00 00 00 00 D9 FE 00 00 00 00  // ................
@@ -159,12 +176,14 @@ Raw Table Data: Length 280 (0x118)
     0060: 04 08 00 00 00 00 1F 00 05 08 00 00 01 00 15 00  // ................
     0070: 05 08 00 00 02 00 15 01 05 08 00 00 03 00 15 02  // ................
     0080: 05 08 00 00 04 00 15 03 01 00 20 00 00 00 00 00  // .......... .....
-    0090: 00 00 00 8D 00 00 00 00 FF FF 7F 8F 00 00 00 00  // ................
-    00A0: 01 08 00 00 00 00 02 00 04 00 1C 00 00 00 00 01  // ................
-    00B0: 5C 5F 53 42 2E 50 43 49 30 2E 49 32 43 30 00 00  // \_SB.PCI0.I2C0..
-    00C0: 00 00 00 00 04 00 1C 00 00 00 00 02 5C 5F 53 42  // ............\_SB
-    00D0: 2E 50 43 49 30 2E 49 32 43 31 00 00 00 00 00 00  // .PCI0.I2C1......
-    00E0: 04 00 1C 00 00 00 00 03 5C 5F 53 42 2E 50 43 49  // ........\_SB.PCI
-    00F0: 30 2E 49 32 43 32 00 00 00 00 00 00 04 00 1C 00  // 0.I2C2..........
-    0100: 00 00 00 04 5C 5F 53 42 2E 50 43 49 30 2E 49 32  // ....\_SB.PCI0.I2
-    0110: 43 33 00 00 00 00 00 00                          // C3......
+    0090: 00 00 2E 3E 00 00 00 00 FF FF 2F 3E 00 00 00 00  // ...>....../>....
+    00A0: 01 08 00 00 00 00 14 00 01 00 20 00 00 00 00 00  // .......... .....
+    00B0: 00 00 00 8D 00 00 00 00 FF FF 7F 8F 00 00 00 00  // ................
+    00C0: 01 08 00 00 00 00 02 00 04 00 1C 00 00 00 00 01  // ................
+    00D0: 5C 5F 53 42 2E 50 43 49 30 2E 49 32 43 30 00 00  // \_SB.PCI0.I2C0..
+    00E0: 00 00 00 00 04 00 1C 00 00 00 00 02 5C 5F 53 42  // ............\_SB
+    00F0: 2E 50 43 49 30 2E 49 32 43 31 00 00 00 00 00 00  // .PCI0.I2C1......
+    0100: 04 00 1C 00 00 00 00 03 5C 5F 53 42 2E 50 43 49  // ........\_SB.PCI
+    0110: 30 2E 49 32 43 32 00 00 00 00 00 00 04 00 1C 00  // 0.I2C2..........
+    0120: 00 00 00 04 5C 5F 53 42 2E 50 43 49 30 2E 49 32  // ....\_SB.PCI0.I2
+    0130: 43 33 00 00 00 00 00 00                          // C3......
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/dsdt.dsl b/surface_book_1_acpidumps@06af24db/dsdt.dsl
index aeca09f..3a3d671 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/dsdt.dsl
+++ b/surface_book_1_acpidumps@06af24db/dsdt.dsl
@@ -1,19 +1,19 @@
-Firmware Error (ACPI): Could not resolve symbol [^GFX0.CLID], AE_NOT_FOUND (20200717/dswload-495)
-Firmware Error (ACPI): Could not resolve symbol [^GFX0.CLID], AE_NOT_FOUND (20200717/dswload2-479)
+Firmware Error (ACPI): Could not resolve symbol [^GFX0.CLID], AE_NOT_FOUND (20190703/dswload-496)
+Firmware Error (ACPI): Could not resolve symbol [^GFX0.CLID], AE_NOT_FOUND (20190703/dswload2-476)
 /*
  * Intel ACPI Component Architecture
- * AML/ASL+ Disassembler version 20200717 (64-bit version)
- * Copyright (c) 2000 - 2020 Intel Corporation
+ * AML/ASL+ Disassembler version 20190703 (64-bit version)
+ * Copyright (c) 2000 - 2019 Intel Corporation
  * 
  * Disassembling to symbolic ASL+ operators
  *
- * Disassembly of dsdt.dat, Tue Aug  4 19:05:29 2020
+ * Disassembly of dsdt.dat, Sun Aug 11 07:50:59 2019
  *
  * Original Table Header:
  *     Signature        "DSDT"
- *     Length           0x0001856C (99692)
+ *     Length           0x00018587 (99719)
  *     Revision         0x02
- *     Checksum         0x5B
+ *     Checksum         0x62
  *     OEM ID           "MSFT  "
  *     OEM Table ID     "MSFT    "
  *     OEM Revision     0x00000000 (0)
@@ -44,7 +44,6 @@ DefinitionBlock ("", "DSDT", 2, "MSFT  ", "MSFT    ", 0x00000000)
     External (_PR_.PDTS, UnknownObj)
     External (_PR_.PKGA, UnknownObj)
     External (_PR_.PR00, DeviceObj)
-    External (_PR_.PR00._PPC, MethodObj)    // 0 Arguments
     External (_PR_.PR00._PSS, MethodObj)    // 0 Arguments
     External (_PR_.PR00.LPSS, PkgObj)
     External (_PR_.PR00.TPSS, PkgObj)
@@ -55,7 +54,7 @@ DefinitionBlock ("", "DSDT", 2, "MSFT  ", "MSFT    ", 0x00000000)
     External (_SB_.PCI0.GFX0.ALSI, UnknownObj)
     External (_SB_.PCI0.GFX0.CBLV, UnknownObj)
     External (_SB_.PCI0.GFX0.CDCK, UnknownObj)
-    External (_SB_.PCI0.GFX0.CLID, FieldUnitObj)
+    External (_SB_.PCI0.GFX0.CLID, UnknownObj)
     External (_SB_.PCI0.GFX0.DD1F, DeviceObj)
     External (_SB_.PCI0.GFX0.GLID, MethodObj)    // 1 Arguments
     External (_SB_.PCI0.GFX0.GSCI, MethodObj)    // 0 Arguments
@@ -80,9 +79,9 @@ DefinitionBlock ("", "DSDT", 2, "MSFT  ", "MSFT    ", 0x00000000)
     External (_SB_.PCI0.RP05.PWRG, UnknownObj)
     External (_SB_.PCI0.RP05.RSTG, UnknownObj)
     External (_SB_.PCI0.RP05.SCLK, UnknownObj)
-    External (_SB_.PCI0.RP09.PWRG, PkgObj)
-    External (_SB_.PCI0.RP09.RSTG, PkgObj)
-    External (_SB_.PCI0.RP09.SCLK, PkgObj)
+    External (_SB_.PCI0.RP09.PWRG, UnknownObj)
+    External (_SB_.PCI0.RP09.RSTG, UnknownObj)
+    External (_SB_.PCI0.RP09.SCLK, UnknownObj)
     External (_SB_.PCI0.RP13.PWRG, UnknownObj)
     External (_SB_.PCI0.RP13.RSTG, UnknownObj)
     External (_SB_.PCI0.RP13.SCLK, UnknownObj)
@@ -20895,6 +20894,24 @@ DefinitionBlock ("", "DSDT", 2, "MSFT  ", "MSFT    ", 0x00000000)
         }
     }
 
+    Scope (_SB.PCI0.HDAS)
+    {
+        Method (_DEP, 0, NotSerialized)  // _DEP: Dependencies
+        {
+            If ((S0ID == One))
+            {
+                Return (Package (0x01)
+                {
+                    PEPD
+                })
+            }
+            Else
+            {
+                Return (Package (0x00){})
+            }
+        }
+    }
+
     Scope (_SB.PCI0.RP01.PXSX)
     {
         Method (_DEP, 0, NotSerialized)  // _DEP: Dependencies
@@ -22632,20 +22649,14 @@ DefinitionBlock ("", "DSDT", 2, "MSFT  ", "MSFT    ", 0x00000000)
 
                 Package (0x03)
                 {
-                    "INTELAUDIO\\FUNC_01&VEN_10EC*", 
+                    "\\_SB.PCI0.HDAS", 
                     One, 
-                    Package (0x03)
+                    Package (0x02)
                     {
                         Zero, 
                         Package (0x02)
                         {
-                            Zero, 
-                            Zero
-                        }, 
-
-                        Package (0x02)
-                        {
-                            One, 
+                            0xFF, 
                             0x03
                         }
                     }
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/facs.dsl b/surface_book_1_acpidumps@06af24db/facs.dsl
index e791cf4..8b8c149 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/facs.dsl
+++ b/surface_book_1_acpidumps@06af24db/facs.dsl
@@ -12,7 +12,7 @@
 
 [000h 0000   4]                    Signature : "FACS"
 [004h 0004   4]                       Length : 00000040
-[008h 0008   4]           Hardware Signature : 2757778C
+[008h 0008   4]           Hardware Signature : A67532FC
 [00Ch 0012   4]    32 Firmware Waking Vector : 00000000
 [010h 0016   4]                  Global Lock : 00000000
 [014h 0020   4]        Flags (decoded below) : 00000000
@@ -26,7 +26,7 @@
 
 Raw Table Data: Length 64 (0x40)
 
-    0000: 46 41 43 53 40 00 00 00 8C 77 57 27 00 00 00 00  // FACS@....wW'....
+    0000: 46 41 43 53 40 00 00 00 FC 32 75 A6 00 00 00 00  // FACS@....2u.....
     0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  // ................
     0020: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  // ................
     0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  // ................
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/ssdt3.dsl b/surface_book_1_acpidumps@06af24db/ssdt3.dsl
index ca0bc7c..f1678e4 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/ssdt3.dsl
+++ b/surface_book_1_acpidumps@06af24db/ssdt3.dsl
@@ -1,17 +1,17 @@
 /*
  * Intel ACPI Component Architecture
- * AML/ASL+ Disassembler version 20200717 (64-bit version)
- * Copyright (c) 2000 - 2020 Intel Corporation
+ * AML/ASL+ Disassembler version 20190703 (64-bit version)
+ * Copyright (c) 2000 - 2019 Intel Corporation
  * 
  * Disassembling to symbolic ASL+ operators
  *
- * Disassembly of ssdt3.dat, Tue Aug  4 19:05:24 2020
+ * Disassembly of ssdt3.dat, Sun Aug 11 07:50:59 2019
  *
  * Original Table Header:
  *     Signature        "SSDT"
  *     Length           0x000017AE (6062)
  *     Revision         0x02
- *     Checksum         0xBF
+ *     Checksum         0xCD
  *     OEM ID           "CpuRef"
  *     OEM Table ID     "CpuSsdt"
  *     OEM Revision     0x00003000 (12288)
@@ -87,7 +87,7 @@ DefinitionBlock ("", "SSDT", 2, "CpuRef", "CpuSsdt", 0x00003000)
     Scope (\_PR)
     {
         Name (CTPC, Zero)
-        OperationRegion (PNVS, SystemMemory, 0x8AAE8000, 0x006C)
+        OperationRegion (PNVS, SystemMemory, 0x8AB07000, 0x006C)
         Field (PNVS, AnyAcc, Lock, Preserve)
         {
             PGRV,   8, 
diff --git a/acpidump_toastyfe_BIOS-91.2327.769/wsmt.dsl b/surface_book_1_acpidumps@06af24db/wsmt.dsl
index 1a054da..35150f3 100644
--- a/acpidump_toastyfe_BIOS-91.2327.769/wsmt.dsl
+++ b/surface_book_1_acpidumps@06af24db/wsmt.dsl
@@ -1,16 +1,16 @@
 /*
  * Intel ACPI Component Architecture
- * AML/ASL+ Disassembler version 20200717 (64-bit version)
- * Copyright (c) 2000 - 2020 Intel Corporation
+ * AML/ASL+ Disassembler version 20190703 (64-bit version)
+ * Copyright (c) 2000 - 2019 Intel Corporation
  * 
- * Disassembly of wsmt.dat, Tue Aug  4 19:05:24 2020
+ * Disassembly of wsmt.dat, Sun Aug 11 07:50:59 2019
  *
  * ACPI Data Table [WSMT]
  *
  * Format: [HexOffset DecimalOffset ByteLength]  FieldName : FieldValue
  */
 
-[000h 0000   4]                    Signature : "WSMT"    [Windows SMM Security Mitigations Table]
+[000h 0000   4]                    Signature : "WSMT"    [Windows SMM Security Migrations Table]
 [004h 0004   4]                 Table Length : 00000028
 [008h 0008   1]                     Revision : 01
 [009h 0009   1]                     Checksum : B6


The file provided will be used for diagnosing why dGPU won't turn on via HGON (echo "\_SB.PCI0.RP05.HGON" | sudo tee /proc/acpi/call) on your SB1.

Issue: linux-surface/linux-surface#93

Note: firmware version:

[    0.000000] DMI: Microsoft Corporation Surface Book/Surface Book, BIOS 91.2327.769 08/23/2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants