alder_lake_bios/Intel/AlderLake/AlderLakeChipsetPkg/HybridGraphicsAcpi/N20/NvidiaOptimus/NvidiaOptimus.asi

36 lines
1.2 KiB
Plaintext

/** @file
;******************************************************************************
;* Copyright (c) 2020 - 2021, 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.
;*
;******************************************************************************
*/
#ifndef _NVIDIA_OPTIMUS_ASI_
#define _NVIDIA_OPTIMUS_ASI_
//
// ASL code common define about device and bridge
//
//[-start-210917-GEORGE0004-modify]//
#if defined(S77014_SUPPORT) || defined(S570_SUPPORT) || defined(S77014IAH_SUPPORT)
#define DGPU_BRIDGE_SCOPE PCI_SCOPE.PEG2
#else
#define DGPU_BRIDGE_SCOPE PCI_SCOPE.PEG1
#endif
//[-end-210917-GEORGE0004-modify]//
#define DGPU_DEVICE PEGP
#define DGPU_SCOPE DGPU_BRIDGE_SCOPE.DGPU_DEVICE
//
// ACPI define in dGPU SCOPE _DOD method
//
#define ACPI_ID_HDMI 0x80087330
#endif