Home | History | Annotate | Download | only in PlatformSetupDxe
      1 //
      2 //
      3 // Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
      4 //                                                                                  

      6 // This program and the accompanying materials are licensed and made available under

      8 // the terms and conditions of the BSD License that accompanies this distribution.  

     10 // The full text of the license may be found at                                     

     12 // http://opensource.org/licenses/bsd-license.php.                                  

     14 //                                                                                  

     16 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,            

     18 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.    

     20 //                                                                                  

     22 //
     23 //
     24 //
     25 // Module Name:
     26 //
     27 //   UncoreConfiguration.vfi
     28 //
     29 // Abstract:
     30 //
     31 //   Driver Setup formset.
     32 //
     33 
     34 
     35 // --*/
     36 
     37 form formid = UNCORE_FORM_ID,
     38   title    = STRING_TOKEN(STR_UNCORE_CONFIGURATION_TITLE);
     39 
     40   subtitle text = STRING_TOKEN(STR_GOP_TITLE);
     41 
     42   oneof varid    = Setup.GOPEnable,
     43     prompt   = STRING_TOKEN(STR_GOP_VBIOS_SWITCH),
     44     help     = STRING_TOKEN(STR_GOP_VBIOS_SWITCH_HELP),
     45     option text = STRING_TOKEN(STR_ENABLE), value =1, flags = MANUFACTURING | DEFAULT | RESET_REQUIRED;
     46     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
     47   endoneof;
     48 
     49   oneof varid  = Setup.GOPBrightnessLevel,
     50     prompt = STRING_TOKEN(STR_GOP_BRIGHTNESS_LEVEL),
     51     help   = STRING_TOKEN(STR_GOP_BRIGHTNESS_LEVEL_HELP),
     52     option text = STRING_TOKEN(STR_GOP_BRIGHT_20), value =2, flags = RESET_REQUIRED;
     53     option text = STRING_TOKEN(STR_GOP_BRIGHT_40), value =3, flags = RESET_REQUIRED;
     54     option text = STRING_TOKEN(STR_GOP_BRIGHT_60), value =4, flags = RESET_REQUIRED;
     55     option text = STRING_TOKEN(STR_GOP_BRIGHT_80), value =5, flags = MANUFACTURING| DEFAULT| RESET_REQUIRED;
     56     option text = STRING_TOKEN(STR_GOP_BRIGHT_100), value =6, flags = RESET_REQUIRED;
     57     option text = STRING_TOKEN(STR_GOP_BRIGHT_120), value =7, flags = RESET_REQUIRED;
     58     option text = STRING_TOKEN(STR_GOP_BRIGHT_140), value =8, flags = RESET_REQUIRED;
     59     option text = STRING_TOKEN(STR_GOP_BRIGHT_160), value =9, flags = RESET_REQUIRED;
     60     option text = STRING_TOKEN(STR_GOP_BRIGHT_180), value =10, flags = RESET_REQUIRED;
     61     option text = STRING_TOKEN(STR_GOP_BRIGHT_200), value =11, flags = RESET_REQUIRED;
     62     option text = STRING_TOKEN(STR_GOP_BRIGHT_220), value =12, flags = RESET_REQUIRED;
     63     option text = STRING_TOKEN(STR_GOP_BRIGHT_240), value =13, flags = RESET_REQUIRED;
     64     option text = STRING_TOKEN(STR_GOP_BRIGHT_255), value =14, flags = RESET_REQUIRED;
     65   endoneof;
     66   subtitle text = STRING_TOKEN(STR_NULL_STRING);
     67   subtitle text = STRING_TOKEN(STR_IGD_TITLE);
     68 
     69   suppressif ideqval Setup.PrimaryVideoAdaptor == 0x2;
     70     oneof varid  = Setup.Igd,
     71       prompt   = STRING_TOKEN (STR_IGD_PROMPT),
     72       help     = STRING_TOKEN (STR_IGD_HELP),
     73       option text = STRING_TOKEN(STR_DISABLE), value=0, flags=RESET_REQUIRED;
     74       option text = STRING_TOKEN(STR_ENABLE),  value=1, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
     75     endoneof;
     76   endif;
     77 
     78   oneof varid    = Setup.PrimaryVideoAdaptor,
     79     prompt   = STRING_TOKEN(STR_PRIMARY_DISPLAY),
     80     help     = STRING_TOKEN(STR_PRIMARY_DISPLAY_HELP),
     81     option text = STRING_TOKEN(STR_AUTOMATIC), value = 3, flags =   RESET_REQUIRED;
     82     option text = STRING_TOKEN(STR_IGD_STRING), value = 0, flags =  DEFAULT |MANUFACTURING |RESET_REQUIRED;
     83     option text = STRING_TOKEN(STR_PCI_STRING),  value = 2, flags = RESET_REQUIRED;
     84   endoneof;
     85 
     86 
     87   oneof varid = Setup.PavpMode,
     88     prompt   = STRING_TOKEN(STR_PAVC_PROMPT),
     89     help     = STRING_TOKEN(STR_PAVC_HELP),
     90     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
     91     option text = STRING_TOKEN(STR_PAVP_LITE_MODE), value = 1, flags = MANUFACTURING | DEFAULT | RESET_REQUIRED;
     92     option text = STRING_TOKEN(STR_PAVP_SERPENT_MODE), value = 2, flags = RESET_REQUIRED;
     93   endoneof;
     94 
     95 
     96   oneof varid    = Setup.GTTSize,
     97     prompt   = STRING_TOKEN(STR_GTT_SIZE),
     98     help     = STRING_TOKEN(STR_GTT_SIZE_HELP),
     99     option text = STRING_TOKEN(GTT_SIZE_1MB), value = 1, flags =  RESET_REQUIRED;
    100     option text = STRING_TOKEN(GTT_SIZE_2MB), value = 2, flags =  DEFAULT | MANUFACTURING | RESET_REQUIRED;
    101   endoneof;
    102 
    103   oneof varid    = Setup.IgdApertureSize,
    104     prompt   = STRING_TOKEN(STR_APERTURE_SIZE),
    105     help     = STRING_TOKEN(STR_APERTURE_SIZE_HELP),
    106     option text = STRING_TOKEN(APERTURE_SIZE_128MB), value = 1, flags =  RESET_REQUIRED;
    107     option text = STRING_TOKEN(APERTURE_SIZE_256MB), value = 2, flags =  DEFAULT | MANUFACTURING | RESET_REQUIRED;
    108     option text = STRING_TOKEN(APERTURE_SIZE_512MB), value = 3, flags =  RESET_REQUIRED;
    109   endoneof;
    110 
    111   oneof varid   = Setup.IgdDvmt50PreAlloc,
    112     prompt  = STRING_TOKEN(STR_DVMT50_PRE_ALLOC),
    113     help    = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_HELP),
    114 //    option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_32M), value = 1, flags = RESET_REQUIRED;
    115     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_64M), value = 2, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    116     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_96M), value = 3, flags = RESET_REQUIRED;
    117     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_128M), value = 4, flags = RESET_REQUIRED;
    118     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_160M), value = 5, flags = RESET_REQUIRED;
    119     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_192M), value = 6, flags = RESET_REQUIRED;
    120     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_224M), value = 7, flags = RESET_REQUIRED;
    121     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_256M), value = 8, flags = RESET_REQUIRED;
    122     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_288M), value = 9, flags = RESET_REQUIRED;
    123     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_320M), value = 10, flags = RESET_REQUIRED;
    124     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_352M), value = 11, flags = RESET_REQUIRED;
    125     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_384M), value = 12, flags = RESET_REQUIRED;
    126     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_416M), value = 13, flags = RESET_REQUIRED;
    127     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_448M), value = 14, flags = RESET_REQUIRED;
    128     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_480M), value = 15, flags = RESET_REQUIRED;
    129     option text = STRING_TOKEN(STR_DVMT50_PRE_ALLOC_512M), value = 16, flags = RESET_REQUIRED;
    130   endoneof;
    131 
    132   oneof   varid   = Setup.IgdDvmt50TotalAlloc,
    133     prompt  = STRING_TOKEN(STR_DVMT50_DVMT ),
    134     help    = STRING_TOKEN(STR_DVMT50_DVMT_HELP),
    135     option text = STRING_TOKEN(STR_DVMT50_ALLOC_128), value = 1, flags = RESET_REQUIRED;
    136     option text = STRING_TOKEN(STR_DVMT50_ALLOC_256), value = 2, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
    137     option text = STRING_TOKEN(STR_DVMT50_ALLOC_MAX), value = 3, flags = RESET_REQUIRED;
    138   endoneof;
    139 
    140   //
    141   //Igd Thermal
    142   //
    143 
    144   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    145 
    146   subtitle text = STRING_TOKEN(STR_IGD_LCD_CONTROL);
    147 
    148   oneof varid    = Setup.LidStatus,
    149     prompt   = STRING_TOKEN(STR_FORCE_LID_STATUS_PROMPT),
    150     help     = STRING_TOKEN(STR_FORCE_LID_STATUS_ENBDT_HELP),
    151     option text = STRING_TOKEN(STR_LID_STATUS__OFF_PROMPT), value = 0, flags = 0 | RESET_REQUIRED;
    152     option text = STRING_TOKEN(STR_LID_STATUS__ON_PROMPT), value = 1, flags = 0 | RESET_REQUIRED;
    153     option text = STRING_TOKEN(STR_LID_STATUS__AUTO_PROMPT), value = 2, flags = MANUFACTURING| DEFAULT| RESET_REQUIRED;
    154   endoneof;
    155 
    156   oneof varid    = Setup.IgdLcdIBia,
    157     prompt   = STRING_TOKEN(STR_VIDEO_LCD_IBIA),
    158     help     = STRING_TOKEN(STR_VIDEO_LCD_IBIAHLP),
    159     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAA), value = 0, flags =MANUFACTURING| DEFAULT| RESET_REQUIRED;
    160     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAD), value = 1, flags = 0| RESET_REQUIRED;
    161     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAL1), value = 2, flags = 0| RESET_REQUIRED;
    162     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAL2), value = 3, flags = 0| RESET_REQUIRED;
    163     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAL3), value = 4, flags = 0| RESET_REQUIRED;
    164     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAL4), value = 5, flags = 0| RESET_REQUIRED;
    165     option text = STRING_TOKEN(STR_VIDEO_LCD_IBIAL5), value = 6, flags = 0| RESET_REQUIRED;
    166   endoneof;
    167 
    168   oneof varid  = Setup.AlsEnable,
    169     prompt   = STRING_TOKEN (STR_ACPI_ALS_ENABLE),
    170     help     = STRING_TOKEN (STR_ACPI_ALS_ENABLE_HELP),
    171     option text = STRING_TOKEN(STR_DISABLE), value=0, flags=DEFAULT | MANUFACTURING | RESET_REQUIRED;
    172     option text = STRING_TOKEN(STR_ENABLE),  value=1, flags=0 | RESET_REQUIRED;
    173   endoneof;
    174 
    175 
    176   oneof   varid   = Setup.IgdFlatPanel,
    177     prompt      = STRING_TOKEN(STR_IGD_FLAT_PANEL_PROMPT),
    178     help        = STRING_TOKEN(STR_IGD_FLAT_PANEL_HELP),
    179     option text = STRING_TOKEN(STR_AUTOMATIC), value=0x00, flags=DEFAULT | RESET_REQUIRED;
    180     option text = STRING_TOKEN(STR_640X480), value=0x01, flags=RESET_REQUIRED;
    181     option text = STRING_TOKEN(STR_800X600), value=0x02, flags=RESET_REQUIRED;
    182     option text = STRING_TOKEN(STR_1024X768), value=0x03, flags=RESET_REQUIRED;
    183     option text = STRING_TOKEN(STR_1280X1024), value=0x04, flags=RESET_REQUIRED;
    184     option text = STRING_TOKEN(STR_1366X768), value=0x05, flags=RESET_REQUIRED;
    185     option text = STRING_TOKEN(STR_1680X1050), value=0x06, flags=RESET_REQUIRED;
    186     option text = STRING_TOKEN(STR_1920X1200), value=0x07, flags=RESET_REQUIRED;
    187     option text = STRING_TOKEN(STR_1280X800), value=0x08, flags=RESET_REQUIRED;
    188   endoneof;
    189 
    190   oneof   varid   = Setup.BootDisplayDevice,
    191     prompt      = STRING_TOKEN(STR_BOOT_DISPLAY_DEVICE_PROMPT),
    192     help        = STRING_TOKEN(STR_BOOT_DISPLAY_DEVICE_HELP),
    193     option text = STRING_TOKEN(STR_AUTOMATIC), value=0x00, flags=DEFAULT | RESET_REQUIRED;
    194     option text = STRING_TOKEN(STR_VGAPORT), value=0x01, flags=RESET_REQUIRED;
    195     option text = STRING_TOKEN(STR_HDMIPORTB), value=0x02, flags=RESET_REQUIRED;
    196     option text = STRING_TOKEN(STR_DPPORTB), value=0x03, flags=RESET_REQUIRED;
    197     option text = STRING_TOKEN(STR_DPPORTC), value=0x04, flags=RESET_REQUIRED;
    198     option text = STRING_TOKEN(STR_EDPPORTC), value=0x05, flags=RESET_REQUIRED;
    199     option text = STRING_TOKEN(STR_DSIPORTA), value=0x06, flags=RESET_REQUIRED;
    200     option text = STRING_TOKEN(STR_DSIPORTC), value=0x07, flags=RESET_REQUIRED;
    201 
    202   endoneof;
    203   //
    204   //Pannel Scaling
    205   //
    206   oneof   varid   = Setup.PanelScaling,
    207     prompt      = STRING_TOKEN(STR_PANNEL_SCALING_PROMPT),
    208     help        = STRING_TOKEN(STR_PANNEL_SCALING_HELP),
    209     option text = STRING_TOKEN(STR_AUTOMATIC), value=0x00, flags=DEFAULT | RESET_REQUIRED;
    210     option text = STRING_TOKEN(STR_PANNEL_SCALING_STRETCH), value=0x01, flags=RESET_REQUIRED;
    211     option text = STRING_TOKEN(STR_PANNEL_SCALING_CENTER), value=0x02, flags=RESET_REQUIRED;
    212   endoneof;
    213 
    214   //
    215   //GMCH BLC Control
    216   //
    217   oneof   varid   = Setup.IgdLcdIGmchBlc,
    218     prompt      = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC_PROMPT),
    219     help        = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC_HELP),
    220     option text = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC1), value=0x00, flags=DEFAULT | RESET_REQUIRED;
    221     option text = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC2), value=0x01, flags=RESET_REQUIRED;
    222     option text = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC3), value=0x02, flags=RESET_REQUIRED;
    223     option text = STRING_TOKEN(STR_VIDEO_LCD_IGMCHBLC4), value=0x03, flags=RESET_REQUIRED;
    224   endoneof;
    225 
    226   subtitle text = STRING_TOKEN(STR_NULL_STRING);
    227   //
    228   //ISP Configuration
    229   //
    230   subtitle text = STRING_TOKEN(STR_ISP_CONFIGURATION_TITLE);
    231 
    232   oneof varid   = Setup.ISPEn,
    233     prompt      = STRING_TOKEN(STR_ISP_ENABLED),
    234     help        = STRING_TOKEN(STR_ISP_ENABLED_HELP),
    235     option text = STRING_TOKEN(STR_ENABLE), value = 1, flags = DEFAULT | RESET_REQUIRED;
    236     option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    237   endoneof;
    238 
    239   grayoutif ideqval Setup.ISPEn == 0;
    240     oneof varid  = Setup.ISPDevSel,
    241       prompt   = STRING_TOKEN (STR_ISP_PCICONFIGURATION_TITLE),
    242       help     = STRING_TOKEN (STR_ISP_PCICONFIGURATION_HELP),
    243       option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
    244       option text = STRING_TOKEN(STR_ISP_PCICONFIG_B0D2F0_TITLE), value = 1, flags = MANUFACTURING | DEFAULT | RESET_REQUIRED;
    245       option text = STRING_TOKEN(STR_ISP_PCICONFIG_B0D3F0_TITLE), value = 2, flags = RESET_REQUIRED;
    246    endoneof;
    247   endif;
    248 
    249 endform;
    250