Skip to contentSkip to conversation

ACPI: PM: Add unused power resource quirk for Casper Excalibur G900

PATCH Applied Hakan Abay 2 participants 2 messages Oct 5 – Oct 12 ACPI

lore
Share & tools
lore

Hakan Abay

author
#0 lore raw

PATCH 1/1 ACPI: PM: Add unused power resource quirk for Casper Excalibur G900

On the Casper Excalibur G900, the NVIDIA discrete GPU and the second NVMe device become inaccessible when unused ACPI power resources are turned off during initialization.

The failure is similar to the THUNDEROBOT ZERO case addressed by
commit cd7ef20ba8c6 ("ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO").

Without the quirk, the NVIDIA GPU and the second NVMe device are left inaccessible in D3cold and attempts to transition them back to D0 fail.

Add a DMI quirk for the affected Casper Excalibur G900 with NLCC 001 mainboard to leave unused ACPI power resources on.

With the quirk applied, the second NVMe device remains accessible. The NVIDIA GPU can enter D3cold while idle and subsequently return to D0 for accelerated rendering.

---
 drivers/acpi/power.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/acpi/power.c +12 -0
index 23a4e207a01e..2e79defca42b 100644
@@ -1121,6 +1121,18 @@ static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = {
 		}
 
 	},
+	{
+		/*
+		 * CASPER EXCALIBUR G900 laptop: Keep unused ACPI power
+		 * resources on to prevent the NVIDIA dGPU and NVMe #2
+		 * from becoming inaccessible.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "CASPER BILGISAYAR SISTEMLERI"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "EXCALIBUR G900"),
+			DMI_MATCH(DMI_BOARD_NAME, "NLCC 001"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 39 lines · Hakan Abay

On the Casper Excalibur G900, the NVIDIA discrete GPU and the second NVMe device become inaccessible when unused ACPI power resources are turned off during initialization.

The failure is similar to the THUNDEROBOT ZERO case addressed by
commit cd7ef20ba8c6 ("ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO").

Without the quirk, the NVIDIA GPU and the second NVMe device are left inaccessible in D3cold and attempts to transition them back to D0 fail.

Add a DMI quirk for the affected Casper Excalibur G900 with NLCC 001 mainboard to leave unused ACPI power resources on.

With the quirk applied, the second NVMe device remains accessible. The NVIDIA GPU can enter D3cold while idle and subsequently return to D0 for accelerated rendering.

---
 drivers/acpi/power.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/acpi/power.c +6 -0
index 23a4e207a01e..2e79defca42b 100644
@@ -1121,6 +1121,18 @@ static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = {
                }
 
        },
+       {
+               /*
+                * CASPER EXCALIBUR G900 laptop: Keep unused ACPI power
+                * resources on to prevent the NVIDIA dGPU and NVMe #2
+                * from becoming inaccessible.
+                */

drivers/acpi/power.c static const struct dmi_system_id dmi_leave_unused_power_resources_on[] = {

Quoted 10 lines
drivers/acpi/power.c +6 -1
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "CASPER BILGISAYAR SISTEMLERI"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "EXCALIBUR G900"),
+                       DMI_MATCH(DMI_BOARD_NAME, "NLCC 001"),
+               },
+       },
        {}
 };
 
--

Applied as 7.4 material, thanks!