GraphicsPeiConfig.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /** @file
  2. Policy definition for Internal Graphics Config Block (PostMem)
  3. Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _GRAPHICS_PEI_CONFIG_H_
  7. #define _GRAPHICS_PEI_CONFIG_H_
  8. #pragma pack(push, 1)
  9. #define GRAPHICS_PEI_CONFIG_REVISION 1
  10. /**
  11. This configuration block is to configure IGD related variables used in PostMem PEI.
  12. If Intel Gfx Device is not supported, all policies can be ignored.
  13. <b>Revision 1</b>:
  14. - Initial version.
  15. **/
  16. typedef struct {
  17. CONFIG_BLOCK_HEADER Header; ///< Offset 0-27 Config Block Header
  18. UINT32 RenderStandby : 1; ///< Offset 28:0 :<b>(Test)</b> This field is used to enable or disable RC6 (Render Standby): 0=FALSE, <b>1=TRUE</b>
  19. UINT32 PmSupport : 1; ///< Offset 28:1 :<b>(Test)</b> IGD PM Support TRUE/FALSE: 0=FALSE, <b>1=TRUE</b>
  20. UINT32 PavpEnable : 1; ///< Offset 28:2 :IGD PAVP TRUE/FALSE: 0=FALSE, <b>1=TRUE</b>
  21. /**
  22. Offset 28:3
  23. CdClock Frequency select\n
  24. 0 = 337.5 Mhz, 1 = 450 Mhz,\n
  25. 2 = 540 Mhz,<b> 3 = 675 Mhz</b>,\n
  26. **/
  27. UINT32 CdClock : 3;
  28. UINT32 PeiGraphicsPeimInit: 1; ///< Offset 28:6 :This policy is used to enable/disable Intel Gfx PEIM.<b>0- Disable</b>, 1- Enable
  29. UINT32 CdynmaxClampEnable : 1; ///< Offset 28:7 : This policy is used to enable/disable CDynmax Clamping Feature (CCF) <b>1- Enable</b>, 0- Disable
  30. UINT32 GtFreqMax : 8; ///< Offset 28:8 : <b>(Test)</b> Max GT frequency limited by user in multiples of 50MHz: Default value which indicates normal frequency is <b>0xFF</b>
  31. UINT32 RsvdBits0 : 16; ///< Offser 28:16 :Reserved for future use
  32. VOID* LogoPtr; ///< Offset 32 Address of Logo to be displayed in PEI
  33. UINT32 LogoSize; ///< Offset 36 Logo Size
  34. VOID* GraphicsConfigPtr; ///< Offset 40 Address of the Graphics Configuration Table
  35. } GRAPHICS_PEI_CONFIG;
  36. #pragma pack(pop)
  37. #endif // _GRAPHICS_PEI_CONFIG_H_