/** @file ;****************************************************************************** ;* Copyright (c) 2018 - 2019, Insyde Software Corp. All Rights Reserved. ;* ;* You may not reproduce, distribute, publish, display, perform, modify, adapt, ;* transmit, broadcast, present, recite, release, license or otherwise exploit ;* any part of this publication in any form, by any means, without the prior ;* written permission of Insyde Software Corporation. ;* ;****************************************************************************** */ Method (HGAS, 0, Serialized) { // // HG Notification to do the GFX adapter switch // // Notify (PCI_SCOPE.GFX0, 0xD0) } Method (HBRT, 1 , Serialized) { // // Send backlight notifications to the DGPU LFP device. // This is required for Win7 and is backward compatible with Vista. // If (LEqual (Arg0, 4)) { Notify (DGPU_SCOPE.LCD0, 0x87) // bugbug: hardcoding the LFP device as LCD0 If (CondRefOf (DGPU2_SCOPE.LCD0)) { If (LEqual (DGPU_SCOPE.SLVS, 1)) { Notify (DGPU2_SCOPE.LCD0, 0x87) // bugbug: hardcoding the LFP device as LCD0 } } } If (LEqual (Arg0, 3)) { Notify (DGPU_SCOPE.LCD0, 0x86) If (CondRefOf (DGPU2_SCOPE.LCD0)) { If (LEqual (DGPU_SCOPE.SLVS, 1)) { Notify (DGPU2_SCOPE.LCD0, 0x86) // bugbug: hardcoding the LFP device as LCD0 } } } } Method (HLSE, 0, Serialized) { // // HG Handling of Lid Switch Event // } Method (HDSE, 1, Serialized) { // // HG Handling of Display Switch Event // If (LEqual (Arg0, 0)) { // // Get Connected Displays // Store (Zero, DGPU_SCOPE.DSFL) DGPU_SCOPE.AFN0 () Return (DGPU_SCOPE.MADL) } Else { // // Set Active Display // Store (0x01, DGPU_SCOPE.DSFL) Store (Arg0, DGPU_SCOPE.MSTE) DGPU_SCOPE.AFN0 () } } Method (HPFS, 0, Serialized) // Panel Fitting Hot Key { // // HG Handling of Panel Fitting Switch // } Method (HGLS, 0, Serialized) { } Method (FPED) { } Method (PDCC) // Display Configuration(Adapter) Change { // Stateless button/Hotkey supporting 3 states - Power Saver, Adaptive and Perf } Method (WMAB, 1, Serialized) { }