]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Protocol/VlvPlatformPolicy.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[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
7ede8060 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
7\r
8\r
9Module Name:\r
10\r
11 VlvPlatformPolicy.h\r
12\r
13Abstract:\r
14\r
15 Interface definition details between MCH and platform drivers during DXE phase.\r
16\r
17--*/\r
18\r
19#ifndef _VLV_PLATFORM_POLICY_H_\r
20#define _VLV_PLATFORM_POLICY_H_\r
21\r
22//\r
23// VLV Policy provided by platform for DXE phase {5BAB88BA-E0E2-4674-B6AD-B812F6881CD6}\r
24//\r
25#define DXE_VLV_PLATFORM_POLICY_GUID \\r
26 {0x5bab88ba, 0xe0e2, 0x4674, 0xb6, 0xad, 0xb8, 0x12, 0xf6, 0x88, 0x1c, 0xd6}\r
27\r
28//\r
29// Extern the GUID for protocol users.\r
30//\r
31extern EFI_GUID gDxeVlvPlatformPolicyGuid;\r
32\r
33//\r
34// Protocol revision number\r
35// Any backwards compatible changes to this protocol will result in an update in the revision number\r
36// Major changes will require publication of a new protocol\r
37//\r
38#define DXE_VLV_PLATFORM_POLICY_PROTOCOL_REVISION 0\r
39\r
40\r
41typedef struct {\r
42 UINT8 PFITStatus;\r
43 UINT8 IgdTheramlSupport;\r
44 UINT8 ALSEnabled;\r
45 UINT8 LidStatus;\r
46} IGD_PANEL_FEATURES;\r
47\r
48typedef struct {\r
49 UINT8 Reserved00; \r
50 UINT8 Reserved01; \r
51 UINT16 Reserved02; \r
52 UINT16 Reserved03; \r
53 UINT16 Reserved04; \r
54 UINT16 Reserved05; \r
55 UINT16 Reserved06; \r
56 UINT16 Reserved07; \r
57 UINT16 Reserved08; \r
58 UINT16 Reserved09; \r
59 UINT16 Reserved0A; \r
60 UINT16 Reserved0B;\r
61 UINT16 Reserved0C;\r
62 UINT16 Reserved0D;\r
63 UINT8 Reserved0E;\r
64 UINT8 Reserved0F;\r
65 UINT32 Reserved10;\r
66 UINT32 Reserved11;\r
67 UINT32 Reserved12;\r
68 UINT32 Reserved13;\r
69 UINT32 Reserved14;\r
70 UINT8 Reserved15;\r
71 UINT8 Reserved16;\r
72} DPTF_SETTINGS;\r
73\r
74//\r
75// MCH DXE Platform Policiy ==================================================\r
76//\r
77\r
78#define NO_AUDIO 0\r
79#define HD_AUDIO 1\r
80#define LPE_AUDIO 2\r
81\r
82typedef struct _DXE_VLV_PLATFORM_POLICY_PROTOCOL {\r
83 UINT8 Revision;\r
84 IGD_PANEL_FEATURES IgdPanelFeatures;\r
85 DPTF_SETTINGS Reserved;\r
86 UINT8 GraphicReserve00;\r
87 UINT8 GraphicsPerfAnalyzers;\r
88 UINT8 PwmReserved00;\r
89 UINT8 PwmReserved01; \r
90 UINT8 PmSupport;\r
91 UINT8 GraphicReserve01;\r
92 UINT8 GfxPause;\r
93 UINT8 GraphicsFreqReq;\r
94 UINT8 GraphicReserve03;\r
95 UINT8 GraphicReserve02;\r
96 UINT8 GraphicReserve04;\r
97 UINT8 PavpMode;\r
98 UINT8 GraphicReserve05;\r
99 UINT8 UlClockGating;\r
100 UINT8 IdleReserve;\r
101 UINT8 AudioTypeSupport;\r
102 UINT8 GraphicReserve06;\r
103} DXE_VLV_PLATFORM_POLICY_PROTOCOL;\r
104\r
105#endif\r