]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Protocol/VlvPlatformPolicy.h
Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / NorthCluster / Include / Protocol / VlvPlatformPolicy.h
CommitLineData
3cbfba02
DW
1\r
2/*++\r
3\r
4Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
5\r
6 This program and the accompanying materials are licensed and made available under\r
7 the terms and conditions of the BSD License that accompanies this distribution.\r
8 The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php.\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14\r
15Module Name:\r
16\r
17 VlvPlatformPolicy.h\r
18\r
19Abstract:\r
20\r
21 Interface definition details between MCH and platform drivers during DXE phase.\r
22\r
23--*/\r
24\r
25#ifndef _VLV_PLATFORM_POLICY_H_\r
26#define _VLV_PLATFORM_POLICY_H_\r
27\r
28//\r
29// VLV Policy provided by platform for DXE phase {5BAB88BA-E0E2-4674-B6AD-B812F6881CD6}\r
30//\r
31#define DXE_VLV_PLATFORM_POLICY_GUID \\r
32 {0x5bab88ba, 0xe0e2, 0x4674, 0xb6, 0xad, 0xb8, 0x12, 0xf6, 0x88, 0x1c, 0xd6}\r
33\r
34//\r
35// Extern the GUID for protocol users.\r
36//\r
37extern EFI_GUID gDxeVlvPlatformPolicyGuid;\r
38\r
39//\r
40// Protocol revision number\r
41// Any backwards compatible changes to this protocol will result in an update in the revision number\r
42// Major changes will require publication of a new protocol\r
43//\r
44#define DXE_VLV_PLATFORM_POLICY_PROTOCOL_REVISION 0\r
45\r
46\r
47typedef struct {\r
48 UINT8 PFITStatus;\r
49 UINT8 IgdTheramlSupport;\r
50 UINT8 ALSEnabled;\r
51 UINT8 LidStatus;\r
52} IGD_PANEL_FEATURES;\r
53\r
54typedef struct {\r
55 UINT8 Reserved00; \r
56 UINT8 Reserved01; \r
57 UINT16 Reserved02; \r
58 UINT16 Reserved03; \r
59 UINT16 Reserved04; \r
60 UINT16 Reserved05; \r
61 UINT16 Reserved06; \r
62 UINT16 Reserved07; \r
63 UINT16 Reserved08; \r
64 UINT16 Reserved09; \r
65 UINT16 Reserved0A; \r
66 UINT16 Reserved0B;\r
67 UINT16 Reserved0C;\r
68 UINT16 Reserved0D;\r
69 UINT8 Reserved0E;\r
70 UINT8 Reserved0F;\r
71 UINT32 Reserved10;\r
72 UINT32 Reserved11;\r
73 UINT32 Reserved12;\r
74 UINT32 Reserved13;\r
75 UINT32 Reserved14;\r
76 UINT8 Reserved15;\r
77 UINT8 Reserved16;\r
78} DPTF_SETTINGS;\r
79\r
80//\r
81// MCH DXE Platform Policiy ==================================================\r
82//\r
83\r
84#define NO_AUDIO 0\r
85#define HD_AUDIO 1\r
86#define LPE_AUDIO 2\r
87\r
88typedef struct _DXE_VLV_PLATFORM_POLICY_PROTOCOL {\r
89 UINT8 Revision;\r
90 IGD_PANEL_FEATURES IgdPanelFeatures;\r
91 DPTF_SETTINGS Reserved;\r
92 UINT8 GraphicReserve00;\r
93 UINT8 GraphicsPerfAnalyzers;\r
94 UINT8 PwmReserved00;\r
95 UINT8 PwmReserved01; \r
96 UINT8 PmSupport;\r
97 UINT8 GraphicReserve01;\r
98 UINT8 GfxPause;\r
99 UINT8 GraphicsFreqReq;\r
100 UINT8 GraphicReserve03;\r
101 UINT8 GraphicReserve02;\r
102 UINT8 GraphicReserve04;\r
103 UINT8 PavpMode;\r
104 UINT8 GraphicReserve05;\r
105 UINT8 UlClockGating;\r
106 UINT8 IdleReserve;\r
107 UINT8 AudioTypeSupport;\r
108 UINT8 GraphicReserve06;\r
109} DXE_VLV_PLATFORM_POLICY_PROTOCOL;\r
110\r
111#endif\r