/** @file HybridGraphicsDefine.h ;****************************************************************************** ;* Copyright (c) 2018 - 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 _HYBRID_GRAPHICS_DEFINE_H_ #define _HYBRID_GRAPHICS_DEFINE_H_ #ifndef DGPU_DEVICE_NUM #define DGPU_DEVICE_NUM (0x00) #endif #ifndef DGPU_FUNCTION_NUM #define DGPU_FUNCTION_NUM (0x00) #endif #ifndef AMD_VID #define AMD_VID (0x1002) #endif #ifndef NVIDIA_VID #define NVIDIA_VID (0x10DE) #endif #ifndef PEG_CAP_ID #define PEG_CAP_ID (0x10) #endif #ifndef PEG_CAP_VER #define PEG_CAP_VER (0x2) #endif #ifndef NVIDIA_DGPU_HDA_REGISTER #define NVIDIA_DGPU_HDA_REGISTER (0x488) #endif // // Support and Unsupport define // typedef enum { Unsupport = 0, Support } SUPPORT_SETTING; // // Active and Inactive define // typedef enum { Inactive = 0, Active } ACTIVE_SETTING; typedef enum { LowActive = 0, HighActive } LEVEL_ACTIVE_SETTING; // // PrimaryDisplay settings // typedef enum { DisplayModeIgpu = 0, DisplayModeDgpu, DisplayModePci, DisplayModeAuto, DisplayModeHg } PRIMARY_DISPLAY_SETTING; // // IGDControl settings define // typedef enum { IgdDisable = 0, IgdEnable, IgdAuto } IGD_CONTROL_SETTING; // // AlwaysEnablePeg settings // typedef enum { DontAlwaysEnablePeg = 0, AlwaysEnablePeg } ALWAYS_ENABLE_PEG_SETTING; // // BootType settings // typedef enum { DualBootType = 0, LegacyBootType, EfiBootType } BOOT_TYPE_SETTING; // // HgGpioSupport setting // typedef enum { HgGpioNotSupported = 0, HgGpioSupported } HG_GPIO_SUPPORT_SETTING; // // Nvidia dGPU generation define. // typedef enum { NV_GEN_17 = 17, NV_GEN_18, NV_GEN_20 = 20 } NV_DGPU_GENERATION_DEFINE; typedef enum { IgfxOnly = 1, DgpuOnly, MsHybrid, Dynamic } NV_DDS_DISPLAY_MODE; // // Hybrid Graphics slot define // typedef enum { PCH = 0, PEG } HG_SLOT_DEFINE; #endif