intel emgd 4th gen intel processors for wec7 and wec 2013 · introduction intel® emgd v37.16.0 for...

36
Document Number: 331947-001US Intel ® Embedded Media and Graphics Driver v37.16.0 for 4 th Generation Intel ® Processors for Windows Embedded Compact 7* and Windows Embedded Compact 2013* Releases User Guide January 2015

Upload: others

Post on 08-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Document Number: 331947-001US

Intel® Embedded Media and Graphics Driver v37.16.0 for 4th

Generation Intel® Processors for Windows Embedded Compact 7* and Windows Embedded Compact 2013* Releases User Guide January 2015

Page 2: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Legal Disclaimer

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 2 Document Number: 331947-001US

Legal Disclaimer

By using this document, in addition to any agreements you have with Intel, you accept the terms set forth below.

You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein. You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein.

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT.

Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Do not finalize a design with this information.

The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm

Any software source code reprinted in this document is furnished for informational purposes only and may only be used or copied and no license, express or implied, by estoppel or otherwise, to any of the reprinted source code is granted by this document.

[When the doc contains software source code for a special or limited purpose (such as informational purposes only), use the conditionalized Software Disclaimer tag. Otherwise, use the generic software source code disclaimer from the Legal page and include a copy of the software license or a hyperlink to its permanent location.]

This document contains information on products in the design phase of development.

Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. Go to: http://www.intel.com/products/processor_number/

Code Names are only for use by Intel to identify products, platforms, programs, services, etc. (“products”) in development by Intel that have not been made commercially available to the public, i.e., announced, launched or shipped. They are never to be used as “commercial” names for products. Also, they are not intended to function as trademarks.

Intel, Intel Atom, and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.

*Other names and brands may be claimed as the property of others.

© 2015 Intel Corporation

Page 3: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Contents

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 3

Contents 1 Introduction .............................................................................................................. 6

1.1 Terminology ...................................................................................................... 7 1.2 Reference Documents ....................................................................................... 11 1.3 Purpose ........................................................................................................... 11 1.4 Intended Audience ............................................................................................ 11

2 Architectural Overview ............................................................................................ 12 2.1 Display Options ................................................................................................ 13

2.1.1 Supported Displays .............................................................................. 13 2.1.2 Display Modes ..................................................................................... 13

2.2 Features .......................................................................................................... 14 2.2.1 Processors and Chipsets Supported ........................................................ 14 2.2.2 OS and API Support ............................................................................. 14 2.2.3 DisplayID Support ................................................................................ 15 2.2.4 EDID-Less Configuration ....................................................................... 15

2.2.4.1 EDID-Less Panel Type Detection ............................................. 15 2.2.5 Rotation .............................................................................................. 15

3 Platform Configuration Using Binary Modification Program (BMP) .......................... 16 3.1 Configuring MBI Using BMP ................................................................................ 16

4 Intel® EMGD for Microsoft WEC7* Build: Installation and Configuration ................. 17 4.1 Prerequisites .................................................................................................... 17 4.2 Platform Builder Requirements ........................................................................... 17

4.2.1 Installation and Setup ........................................................................... 18

5 Intel® EMGD for Microsoft WEC 2013* Build: Installation and Configuration .......... 20 5.1 Prerequisites .................................................................................................... 20 5.2 Platform Builder Requirements ........................................................................... 20

5.2.1 Installation and Setup ........................................................................... 21

6 Display Configuration Options ................................................................................. 23 6.1 Port Order ....................................................................................................... 23

6.1.1 Port Numbers: ..................................................................................... 23 6.2 Display Settings ............................................................................................... 24 6.3 Display Configuration ........................................................................................ 24 6.4 Rotation Configuration ....................................................................................... 25

Appendix A ...................................................................................................... Example: Emgd.reg File ................................................................................................................................ 26 A.1 Sample Emgd.reg File ....................................................................................... 26

Page 4: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Contents

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 4 Document Number: 331947-001US

Figures Figure 1 Intel® Embedded Media and Graphics Driver ........................................................ 12

Tables

Table 1 Terminology ...................................................................................................... 7 Table 2 Reference Documents ....................................................................................... 11 Table 3 Supported Displays ........................................................................................... 13 Table 4 Display Modes .................................................................................................. 13 Table 5 Supported Display Mode Configurations ............................................................... 14 Table 6 Intel® EMGD-Supported Processors and Chipsets .................................................. 14 Table 7 Display Configurations ....................................................................................... 24

Page 5: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Revision History

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 5

Revision History

Date Revision Description

January 2015 001 Initial Release

§

Page 6: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 6 Document Number: 331947-001US

1 Introduction The Intel® Embedded Media and Graphics Driver (Intel® EMGD) is a suite of multi-platform graphics drivers designed to meet the requirements of embedded applications.

The Intel® EMGD driver runs on the following Intel® Architecture:

4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86), with:

• Microsoft Windows Embedded Compact 7* (Microsoft WEC 7*), or

• Microsoft Windows Embedded Compact 2013* (Microsoft WEC 2013*)

Note: If you need support for a chipset that is not listed above but that is in the same family as those listed above, please contact your Intel representative.

The Intel® Embedded Media and Graphics Driver support the following types of display devices:

• Analog CRT

• HDMI

• Display Port

Intel® EMGD is designed to work with fixed-function systems like Point-of-Sale (POS) devices, ATMs, gaming devices, and In-vehicle Information/Entertainment systems.

Intel® EMGD can be configured to work with a variety of hardware and software systems, and supports Microsoft Windows Embedded Compact* operating systems.

For a list of features supported in this Intel® EMGD release, please refer to the release notes that accompanies this manual in the Intel® EMGD bundle.

Page 7: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 7

1.1 Terminology Table 1. Terminology

Term Definition

ADD Card AGP Digital Display. An adapter card that can be inserted into the PCIe x16 port of Intel® chipset family-based systems. ADD cards allow configurations for TV-out, LVDS, and TMDS output (i.e., televisions, digital displays, and flat panel displays).

AIM Add In Module

API Application Programming Interface

BDA BIOS Data Area. A storage area that contains information about the current state of a display, including mode number, number of columns, cursor position, etc.

BIOS Basic Input/Output System. The Intel® Embedded Media and Graphics Driver interacts with two BIOS systems: System BIOS and Video BIOS (VBIOS). VBIOS is a component of the system BIOS.

BLDK Boot Loader Development Kit

BMP BIOS Modification Program; allows customization of the data in VBT.

BSP Board Support Package

Clone Display Configuration

A type of display configuration that drives two display devices, each displaying the same content, but can have different resolutions and (independent) timings. Compare with DIH Display Configuration.

Contrast Ratio Contrast ratio is the measure of the difference between light and dark on a display. If the contrast is increased, the difference between light and dark is increased. So something white will be very bright and something black will be very dark. Brightness and Contrast Controls differ in function between CRTs and LCDs.

COPP Certified Output Protection Protocol* is a Microsoft-defined API to provide application with information about what output protection options are available on a system.

D3D Microsoft Direct3D*. A3D graphics API as a component of DirectX* technology.

DC Display Configuration

DDCT Intel® Dynamic Display Configuration Technology

DirectDraw* A component of the DirectX* Graphics API in Microsoft Windows* OS.

Page 8: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 8 Document Number: 331947-001US

Term Definition

DIH Display Configuration

Dual Independent Head. A type of display configuration that supports two displays with different content on each display device. The Intel® Embedded Media and Graphics Driver supports Extended mode for Microsoft Windows* systems and Xinerama for Linux* systems.

DP Display Port

DTD Detailed Timing Descriptor. A set of timing values used for EDID-less devices.

DVI Digital Video Interface.

DVO Digital Video Output.

EBDA Extended BIOS Data Area. An interface that allows the system BIOS and Option ROMs to request access to additional memory.

EDID Extended Display Identification Data. A VESA standard that allows the display device to send identification and capabilities information to the Intel® Embedded Media and Graphics Driver. Intel® EMGD reads all EDID data, including resolution and timing data, from the display, thus negating the need for configuring DTD data for the device.

EDID-less A display that does not have the capability to send identification and timing information to the driver and requires DTD information to be defined in the driver.

eDP Embedded Display Port

EFI Extensible Firmware Interface

eIA Embedded Intel® Architecture

EMI Electromagnetic Interference

EPOG Embedded Pre-OS Graphics feature

Extended Clone Mode A feature that allows you to have different sized displays in Clone mode.

Framebuffer A region of physical memory used to store and render graphics to a display.

GDI Graphics Device Interface. A low-level API used with Microsoft Windows* operating systems.

GMA Intel® Graphics Media Accelerator. Refers to both the graphic hardware in Intel chipsets as well as the desktop/mobile driver. The GMA driver is not intended for use in embedded applications.

GMS Graphics Mode Select (stolen memory)

HAL Hardware Abstraction Layer. An API that allows access to the Intel® chipsets.

Page 9: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 9

Term Definition

HDCP High-bandwidth Digital-Content Protection. A specification that uses the DVI interface. HDCP encrypts the transmission of digital content between the video source (transmitter) and the digital display (receiver).

HDMI High-Definition Multimedia Interface: An uncompressed, all-digital, audio/video interface.

IAL Interface Abstraction Layer. An API that allows access to graphics interfaces including the GDI, and DirectDraw*.

iDCT Inverse Discrete Cosine Transformation (hardware feature)

LPCM Linear Pulse Code Modulation (LPCM). A method of encoding audio information digitally. The term also refers collectively to formats that use this method of encoding.

LVDS Low Voltage Differential Signaling. Used with flat panel displays, such as a laptop computer display.

NTSC National Television Standards Committee. An analog TV standard used primarily in North and Central America, Japan, the Philippines, South Korea, and Taiwan. Its resolutions are based on 525-line systems. Compare PAL.

OAL Operating system Abstraction Layer. An API that provides access to operating systems, including Microsoft Windows* and Linux*.

Option ROM (OROM) Code that is integrated with the system BIOS and resides on a flash chip on the motherboard. The Intel Embedded Video BIOS is an example of an option ROM.

OS Operating System

PAL Phase Alternating Lines. An analog TV standard used in Europe, South America, Africa, and Australia. Its resolutions are based on 625-line systems. Compare NTSC.

PCF Parameters Configuration File

PCI Peripheral Component Interface

Port Driver A driver used with the sDVO interfaces of the System Controller Hub (SCH).

POST Power On Self Test

PWM Pulse Width Modulation

Reserved Memory A region of physical memory in a Windows Embedded Compact 7* system set aside for BIOS, VBIOS, and graphics driver operations. Reserved memory can be configured for use by the operating system and other applications when not in use by the BIOS.

Page 10: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 10 Document Number: 331947-001US

Term Definition

Saturation Monitors and scanners are based on the “additive” color system using RGB, starting with black and then adding Red, Green, and Blue to achieve color. Saturation is the colorfulness of an area judged in proportion to its brightness. Full saturation of RGB gives the perception of white, and images are created that radiate varying amounts of RGB, or varying saturation of RGB.

SCART French Acronym - Syndicat des Constructeurs d'Appareils Radiorecepterus et Televiseurs. A video interface possessing up to four analog signals (Red/Green/Blue/Composite PAL). S-Video (Luma/ Chroma) is possible over the SCART interface as well.

SCH System Controller Hub

SCS Software Compliance Statement

sDVO Serial Digital Video Output

Single Display Configuration

A type of display configuration that supports one and only one display device.

SSC Spread Spectrum Clock

Stolen Memory A region of physical memory (RAM) set aside by the system BIOS for input and output operations. The amount of stolen memory is configurable. Stolen memory is not accessible to the operating system or applications.

System BIOS The standard BIOS used for basic input and output operations on PCs.

TMDS Transitioned Minimized Differential Signaling. Used with DVI displays, such as plasma TVs.

TOM Top Of Memory

TSR Terminate and Stay Resident. A program that is loaded and executes in RAM, but when it terminates, the program stays resident in memory and can be executed again immediately without being reloaded into memory.

VBIOS Video Basic Input Output System. A component of system BIOS that drives graphics input and output.

VESA Video Electronics Standards Organization

VEXT Display Configuration

Vertical Extended. A type of display configuration that enables both primary and secondary displays. Primary and secondary displays can be configured with separate timings. The resolution for the secondary display must be the same as the primary. Content comes from a single framebuffer that spans both displays oriented vertically.

VGA Video Graphics Array. A graphics display standard developed by IBM* that uses analog signals rather than digital signals.

VLD Variable Length Decoding

Page 11: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Introduction

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 11

Term Definition

VMR Video Mixing Render

WEC* Windows Embedded Compact*

WHQL Windows* Hardware Quality Labs. WHQL is a testing organization responsible for certifying the quality of Windows* drivers and hardware that runs on Windows* operating systems.

YUV Informal, but imprecise reference to the video image format, Y'CbCr. The Y' component is luma, a nonlinear video quality derived from RGB data denoted without color. The chroma components, Cb and Cr, correspond nonlinearly with U and V as differences between the blue and luma, and between the red and luma, respectively.

1.2 Reference Documents The following documents provide additional information that may be useful when using the Intel® Embedded Media and Graphics Driver. Additional resources are available at http://edc.intel.com/Software/Downloads/EMGD/.

Table 2. Reference Documents

Document Document #/ Location

Intel® Graphics Media Accelerator - Binary Modification Program (BMP) User Guide, Revision 3.0 or above This document provides information on configuration of Video BIOS

368119

Intel® Embedded Media and Graphics Driver –Modification Program (BMP) User Guide Addendum for Windows Embedded Compact* This document provides information on configuration of Video BIOS for Windows Embedded Compact*.

548367

1.3 Purpose This manual provides information on firmware and software, providing hardware design considerations, installation requirements, and static configuration options.

1.4 Intended Audience This document is targeted at all platform and system developers who need to work with the graphics subsystem. This includes, but is not limited to: Platform designers, system BIOS developers, system integrators, original equipment manufacturers, and system control application developers, as well as end users.

§§

Page 12: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Architectural Overview

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 12 Document Number: 331947-001US

2 Architectural Overview The Intel® Embedded Media and Graphics Driver for WEC 7*/WEC 2013* on Intel 4th Generation Processors is comprised of the following:

• Intel® EMGD is a run-time graphics driver

• Intel® EMGD leverages a Video BIOS (VBIOS) firmware component

• Intel® EMGD and VBIOS controls the graphic chipset and PCH, to perform

display and render operations

• VBIOS is predominantly leveraged by the System BIOS during system boot, and

provides basic graphic initialization.

• Intel® EMGD takes over during WEC 7*/WEC 2013* launch

• Intel® EMGD supports configuration capability for different display modes

• Intel® EMGD provides hardware acceleration for:

o 2D o Open GL ES* o Video decode of H264 and MPEG2.

Figure 1. Intel® Embedded Media and Graphics Driver

Page 13: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Architectural Overview

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 13

2.1 Display Options This section describes the displays and configurations supported by the Intel® Embedded Media and Graphics Driver.

2.1.1 Supported Displays

Table 3 lists the displays are supported by the Intel® Embedded Media and Graphics Driver.

Table 3. Supported Displays

Display Description

CRT Analog CRT, also known as ”VGA” which typically uses a 15 pin D-sub connector

HDMI High-Definition Multimedia Interface (video only, no audio)

DP Display Port

2.1.2 Display Modes

Intel® EMGD can drive two displays, simultaneously.

Several display modes are supported, depending on the operating system and chipset configuration combination.

These modes / configurations can be defined as listed in Table 4.

Table 4. Display Modes

Mode Configuration

Single Normal desktop configuration, single monitor

Clone Two displays, same content, different resolutions, independent timings

Vertical Extended Two displays, continuous content vertically

NOTES: Supported display depends on driver and hardware availability.

Page 14: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Architectural Overview

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 14 Document Number: 331947-001US

Table 5 lists the Display Modes configurations supported.

Table 5. Supported Display Mode Configurations

Processor and Chipset Operating System

WEC 7* WEC 2013*

4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86)

• Single • Clone • Vertical Extended

• Single • Clone • Vertical Extended

2.2 Features The following sections describe major computing features the Intel® EMGD supports.

2.2.1 Processors and Chipsets Supported

Table 6 lists Intel® EMGD-supported processors and chipsets.

Table 6. Intel® EMGD-Supported Processors and Chipsets

Processor and Chipset Intel® EMGD VBIOS Support

Intel® EMGD Support

4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86)

No Yes

2.2.2 OS and API Support

The Intel® Embedded Media and Graphics Driver and Video BIOS support the following operating systems and APIs:

• Microsoft Windows Embedded Compact 7* (WEC 7*)

• Microsoft Windows Embedded Compact 2013* (WEC 2013*)

Note: Intel® EMGD does not support updating your software past these versions.

Page 15: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Architectural Overview

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 15

2.2.3 DisplayID Support

The Intel® EMGD support the DisplayID specification. DisplayID is a VESA specification that describes the data format for the display configuration parameters and provides the capability to unify the display data structure thereby decreasing the need to rely on proprietary extensions. For more information on DisplayID, its uses, and parameters reference the VESA specification at www.vesa.org.

2.2.4 EDID-Less Configuration

EDID-less support is the ability to run a display panel that does not have display timing information within the panel. Therefore, the user has to provide the display timing information to the graphics drivers during configuration using BMP.

This document describes only the necessary edits to the configuration files that are required to implement the graphics driver and VBIOS, and not specific settings for EDID-less panel configuration. Refer to the manufacturer’s specifications for the Detailed Timing Descriptor (DTD) settings to use for the EDID-less panels.

2.2.4.1 EDID-Less Panel Type Detection

The Intel® EMGD supports the EDID-less displays that do not export timing modes. This is accomplished by allowing configuration of a DTD, and associating that DTD with a specific display port.

2.2.5 Rotation

Rotation is the ability to rotate the display for the Intel® EMGDs. Rotation support includes 0°, 90°, 180°, 270°. Rotation is supported only on the following Processors using Windows Embedded Compact 7* and Windows Embedded Compact 2013* operating systems:

4th Generation Intel® Processors

Note: Rotation is not supported with the VBIOS. Rotation is supported with Windows Embedded Compact 7* and Windows Embedded Compact 2013*, but only in static mode.

§ §

Page 16: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Platform Configuration Using Binary Modification Program (BMP)

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 16 Document Number: 331947-001US

3 Platform Configuration Using Binary Modification Program (BMP) Intel® Binary Modification Program (BMP) is an application that allows you to modify Video BIOS Table (VBT) data.

These changes are saved as an .mbi file. The .mbi file is a block of platform specific data.

MBI retains platform-specific information used by the Intel® EMGD drivers detailing, between others:

• Flat Panel Timings

• OEM-definable Mode Timing

• GPIO Pins

• Clock

3.1 Configuring MBI Using BMP To configure the MBI using BMP, do the following:

• Install the latest version of Intel® BMP on your host. This allows you to launch the BMP.

• Get the latest versions of Intel® BMP and VBT binary files (.bsf and .dat) from Intel® EMGD Driver package.

• Contact your Intel representative for the latest driver package.

Intel® BMP is designed for ease of use and configuration of the Intel® EMGD Driver, using the MBI module generated from BMP. Online help is available for each configuration page, and each data field is validated.

For more details on how to use the BMP for VBT Customization, and how to create an MBI module, refer to:

• Intel® HD Graphics – Binary Modification Program (BMP) User Guide (Intel® Document #368119)

• Intel® Embedded Media and Graphics Driver – Binary Modification Program (BMP) User Guide Addendum for Windows Embedded Compact* (Intel® Document #548367)

§ §

Page 17: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC7* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 17

4 Intel® EMGD for Microsoft WEC7* Build: Installation and Configuration The following sections describe how to install Intel® EMGD on the Microsoft Windows Embedded Compact 7* operating system.

4.1 Prerequisites The development system should have the following software installed:

• Visual Studio Professional 2008* and Visual Studio Professional Service Pack 1*

• Windows Embedded Compact 7* Platform Builder*.

• Latest Board Support Package (BSP) (see Section 4.2.1, “Installation and Setup” for the download location)

• Intel® EMGD Package

The target system must contain the following Intel® processors:

• 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86)

Note: When using a platform based on the 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86), for proper driver operation, you must install the latest Intel® EMGD, Windows Embedded Compact 7* software package.

4.2 Platform Builder Requirements You must configure your Platform Builder parameters specific to the options required by the operating system and image.

A Board Support Package (BSP) is also required. However, configuration steps for the BSP are beyond the scope of this manual.

An Intel® BSP must be used with Platform Builder to enable support of platforms based on the 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86).

Page 18: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC7* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 18 Document Number: 331947-001US

4.2.1 Installation and Setup

Note: Follow the installation steps in sequence. Sequential completion is crucial for compilation success. 1. Install Visual Studio* 2008 Professional. 2. Install Visual Studio* 2008 Professional Service Pack 1. 3. Install Windows Embedded Compact 7* Platform Builder*. In the SETUP dialog

during installation, select x86 in the processor architecture section. 4. Install the latest Board Support Package (BSP). Download the BSP from Bsquare*

at:

http://www.bsquare.com/resource-center/software-downloads or from Adeneo* at: http://www.adeneo-embedded.com/Products/Board-Support-Packages/Intel

Note: You need to register in order to be able to download. 5. Extract the Intel® EMGD Package for Windows Embedded Compact 7*. 6. To edit Platform.bib:

Open the Platform.bib file from the C:\WINCE700\platform\INTEL_CS\FILES folder and navigate to the last line. Add the following lines after the last line.

ddi_emgd.dll $(_FLATRELEASEDIR)\ddi_emgd.dll NK SH analog.dll $(_FLATRELEASEDIR)\analog.dll NK SH hdmi.dll $(_FLATRELEASEDIR)\hdmi.dll NK SH isr_emgd.dll $(_FLATRELEASEDIR)\isr_emgd.dll NK SH dp.dll $(_FLATRELEASEDIR)\dp.dll NK SH libEGL.dll $(_FLATRELEASEDIR)\libEGL.dll NK SH libGLESv2.dll $(_FLATRELEASEDIR)\libGLESv2.dll NK SH

7. The Intel® EMGD Windows Embedded Compact 7* Driver supports two types of configuration method which reads the display configuration data in the following priority:

a. Read from EMGD.reg data from the Driver Package:

Open the Platform.reg file from C:\WINCE700\platform\INTEL_CS\FILES folder and find "ENDIF BSP_DISPLAY_RAGEXL". Add the following lines between "ENDIF BSP_DISPLAY_RAGEXL" and "ENDIF BSP_NODISPLAY !":

[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates] "Candidate3"="Drivers\\Display\\Intel" #include "$(_FLATRELEASEDIR)\emgd.reg"

Page 19: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC7* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 19

Where: _FLATRELEASEDIR=C:\WINCE700\OSDesigns\OSDesign1\ OSDesign1\RelDir\INTEL_CS_x86_Release\

Copy the content of Driver folder from Intel® EMGD Driver Package to "C:\WINCE700\OSDesigns\OSDesign1\OSDesign1\RelDir\ INTEL_CS_x86_Release" Directory.

b. Read from Modular BIOS Interface (MBI) generated from BMP Tool*:

Open the Platform.bib file, from C:\WINCE700\platform\INTEL_CS\FILES folder and navigate to the last line. Add the following lines after the last line.

vga.mbi $(_FLATRELEASEDIR)\vga.mbi NK SH

Open Platform.reg (C:\WINCE700\platform\INTEL_CS\FILES\platform.reg) and find "ENDIF BSP_DISPLAY_RAGEXL", insert the following lines between "ENDIF BSP_DISPLAY_RAGEXL" and "ENDIF BSP_NODISPLAY !" :

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\EMGD] "Dll"="isr_emgd.dll" "Class"=dword:03 "SubClass"=dword:00 "ProgIF"=dword:00 "VendorID"=multi_sz:"8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"0f31","0412","0406","0416","0426" "Prefix"="IGD" "IsrDll"="isr_emgd.dll" "IsrHandler"="isr_handler" [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "Display"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "D3DMOverride"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\D3DM\Drivers] "RemoteHook"="ddi_emgd.dll" ;[HKEY_LOCAL_MACHINE\System\GDI\Monitors] ;"Total Monitors"=dword:2 ;[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates] ;"Candidate3"="Drivers\\Display\\Intel" ;#include "$(_FLATRELEASEDIR)\emgd.reg"

(Where: _FLATRELEASEDIR=C:\WINCE700\OSDesigns\OSDesign1\ OSDesign1\RelDir\INTEL_CS_x86_Release\ and ";" indicates that the lines are commented out)

The BSF script and the VGA.dat files are provided in the package. Load these into the BMP tool and generate the MBI file. (Go to the File menu and “Create an MBI Module,” such as vga.mbi.)

Note: Only MBI generated from the BMP Tool is supported. For BMP configuration information, refer to Table 2 BMP Users Guide and BMP Addendum Users Guide.

Copy the vga.mbi file generated from the BMP tool to the "C:\WINCE700\OSDesigns\OSDesign1\OSDesign1\RelDir\ INTEL_CS_x86_ Release” directory

§ §

Page 20: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC 2013* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 20 Document Number: 331947-001US

5 Intel® EMGD for Microsoft WEC 2013* Build: Installation and Configuration The following sections describe how to install Intel® EMGD on the Microsoft Windows Embedded Compact 2013* operating system.

5.1 Prerequisites The Development System should have the following software installed:

• Visual Studio* Professional 2012 update 2

• Application builder for Visual Studio* 2012

• Microsoft Windows Embedded Compact 2013* Platform Builder

• Latest Board Support Package (BSP) (see Section 4.2.1, “Installation and Setup” for download location)

• Intel® EMGD Package

The target system must contain one of the following Intel Processors:

• 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86)

Note: When using a platform based on the 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86), for proper driver operation you must: Install the latest Intel® EMGD Windows Embedded Compact 2013* software package.

5.2 Platform Builder Requirements You must configure your Platform Builder parameters specific to the options that the system and image requires, for example, options for the operating system. A Board Support Package (BSP) is also required; however, configuration steps for the BSP are beyond the scope of this procedure. An Intel® BSP must be used with Platform Builder to support platform based on the 4th Generation Intel® Core™ Processors and Intel® 8 Series Chipsets (QM87, HM86).

Page 21: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC 2013* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 21

5.2.1 Installation and Setup

Note: The installation sequences are crucial for compilation success. 1. Install Visual Studio* 2012 Professional update. 2. Install Application builder for Visual Studio* 2012. 3. Install Windows* Embedded Compact 2013 platform builder.

In the SETUP dialog during installation, select x86 in the processor architecture section.

4. Install the latest Board Support Package (BSP). Download the BSP from BSquare at: http://www.bsquare.com/resource-center/software-downloads

or Adeneo at:

http://www.adeneo-embedded.com/Products/Board-Support-Packages/Intel

Note: You need to register before you are able to download. 5. Extract the Intel® EMGD Package for Windows Embedded Compact 7*. 6. To edit Platform.bib:

Open the Platform.bib file from C:\WINCE800\platform\INTEL_CS\FILES folder and navigate to the last line. Add the following lines after the last line.

ddi_emgd.dll $(_FLATRELEASEDIR)\ddi_emgd.dll NK SH analog.dll $(_FLATRELEASEDIR)\analog.dll NK SH hdmi.dll $(_FLATRELEASEDIR)\hdmi.dll NK SH isr_emgd.dll $(_FLATRELEASEDIR)\isr_emgd.dll NK SH dp.dll $(_FLATRELEASEDIR)\dp.dll NK SH libEGL.dll $(_FLATRELEASEDIR)\libEGL.dll NK SH libGLESv2.dll $(_FLATRELEASEDIR)\libGLESv2.dll NK SH

7. The Intel® EMGD Windows Embedded Compact 2013* Driver supports two types of configuration methods which reads the configuration data by the following priority:

i. Read from EMGD.reg data from the Driver Package:

Open the Platform.reg file, from C:\WINCE800\platform\INTEL_CS\FILES Folder and find "ENDIF BSP_DISPLAY_RAGEXL" and add the following lines between "ENDIF BSP_DISPLAY_RAGEXL" and "ENDIF BSP_NODISPLAY !":

[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates] "Candidate3"="Drivers\\Display\\Intel" #include "$(_FLATRELEASEDIR)\emgd.reg"

(Where: _FLATRELEASEDIR=C:\WINCE800\OSDesigns\OSDesign1\ OSDesign1\RelDir\INTEL_CS_x86_Release\) Copy the content of Driver folder from Intel(R) EMGD Driver Package to "C:\WINCE800\OSDesigns\OSDesign1\OSDesign1\RelDir\INTEL_CS_x86_Release" directory.

Page 22: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Intel® EMGD for Microsoft WEC 2013* Build: Installation and Configuration

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 22 Document Number: 331947-001US

ii. Read from Modular BIOS Interface (MBI) generated from Intel® BMP Tool:

Open Platform.bib from the C:\WINCE800\platform\INTEL_CS\FILES folder and navigate to the last line. Add the following lines after the last line. vga.mbi $(_FLATRELEASEDIR)\vga.mbi NK SH

Open Platform.reg (C:\WINCE800\platform\INTEL_CS\FILES\platform.reg) and find "ENDIF BSP_DISPLAY_RAGEXL". Insert the following lines between "ENDIF BSP_DISPLAY_RAGEXL" and "ENDIF BSP_NODISPLAY !" :

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\EMGD] "Dll"="isr_emgd.dll" "Class"=dword:03 "SubClass"=dword:00 "ProgIF"=dword:00 "VendorID"=multi_sz:"8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"0f31","0412","0406","0416","0426" "Prefix"="IGD" "IsrDll"="isr_emgd.dll" "IsrHandler"="isr_handler" [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "Display"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "D3DMOverride"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\D3DM\Drivers] "RemoteHook"="ddi_emgd.dll"

;[HKEY_LOCAL_MACHINE\System\GDI\Monitors] ;"Total Monitors"=dword:2

;[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates] ;"Candidate3"="Drivers\\Display\\Intel" ;#include "$(_FLATRELEASEDIR)\emgd.reg"

(Where: _FLATRELEASEDIR=C:\WINCE800\OSDesigns\OSDesign1\ OSDesign1\RelDir\INTEL_CS_x86_Release\ and ";" indicates that the lines are commented out)

The BSF script and the VGA.dat files are provided in the package. Load these into the BMP tool and generate the MBI file. (Select the File menu and "Create an MBI Module," such as vga.mbi.)

Note: Only MBI generated from BMP Tool is supported. Refer to Table 2 for the BMP Users Guide and BMP Addendum User Guide to learn about BMP configuration.

Copy vga.mbi file generated from the BMP tool to the "C:\WINCE800\OSDesigns\OSDesign1\OSDesign1\RelDir\INTEL_CS_x86_Release” directory

§ §

Page 23: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Display Configuration Options

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 23

6 Display Configuration Options Intel® EMGD supports driving two displays simultaneously. Several configurations are supported, depending on operating system and chipset. The various display configurations are described below.

6.1 Port Order PortOrder specifies the actual port that will be used for the primary and secondary ports. If specified port is unavailable (port driver failed or display detection failed or port is not available on current chipset), then the next port in the below order will be used. PortOrder must be set, based on chipset specifications:

6.1.1 Port Numbers:

2 - HDMI-B port

3 - HDMI-C port

4 - LVDS port

5 - Analog port

6 - DP-B port

7 - DP-C port

The below registry entry presents the dual display example for an Intel® chipset. The first number in the “port order” represents the primary display and second number represents the secondary Display. "PortOrder"="53600000"

The above “port order” represents Analog port as primary and HDMI-C port as Secondary. If HDMI-C is not available, then the next port DP-B will be used if Display Detect is set to “1”. If Display Detect is set to “0”, only Analog will boot up.

Page 24: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Display Configuration Options

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 24 Document Number: 331947-001US

6.2 Display Settings The Following registry entries are for display settings: resolution, bit depth, and refresh rate. Width and Height values must be hexadecimal. In the following example “Width” and “Height” represent display timing of 1024 x 768.

Example: "Width"=dword:400 "Height"=dword:300 "Depth"=dword:20 "Refresh"=dword:3c

6.3 Display Configuration The below registry entry is used to configure the initial state of attached displays. The following table provides definitions for the display terms.

Table 7 Display Configurations

Display Term Definition

Single A single display.

Clone Primary and secondary displays enabled and configured with separate timing pipes. This allows different timings to be applied to each display. Resolutions can be different on both displays.

Vertical Extended Intel® EMGD driver supports Vertical Extended display mode, which is one large framebuffer that extends across two displays by doubling the height of resolution. The top half of the framebuffer is on the first pipe and the bottom half is on the second pipe. The Windows Embedded Compact 7* operating system is unaware of the two displays. This feature is supported only on the dual pipelined chipsets.

For Single Mode:

The display configuration registry entry for single mode:

“DisplayConfig”=word:1

For Clone Mode:

The display configuration registry entry for clone mode:

“DisplayConfig”=word:2

Page 25: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Display Configuration Options

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 25

For Vertical Extended Mode:

The Display Configuration registry entry for vertical extended mode:

“DisplayConfig”=word:5

Where Analog port will be the primary display and HDMI port will be the secondary Display.

Note: The “dc” registry entry is not needed for Display Configuration, hence the comment in the following line.

"dc"=dword:00000051

6.4 Rotation Configuration The following Rotation entries must be at a right angle. An invalid entry will be ignored and no rotation will happen for primary. In clone mode, the secondary port defaults to follow the primary (if set). "Rotation"=dword:0

Example: 0 degrees = 0 (Not rotated= default) 90 degrees = 5A 180 degrees = B4 270 degrees = 10E

Page 26: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 26 Document Number: 331947-001US

Appendix A Example: Emgd.reg File This appendix provides an example of an emgd.reg file.

A.1 Sample Emgd.reg File Here is a sample emgd.reg file.

;----------------------------------------------------------------------------

; Filename: emgd.reg

; $Revision: 1.1.2.3 $

;----------------------------------------------------------------------------

; INTEL CONFIDENTIAL ; Copyright (2002-2013) Intel Corporation All Rights Reserved. ; The source code contained or described herein and all documents related to ; the source code ("Material") are owned by Intel Corporation or its suppliers ; or licensors. Title to the Material remains with Intel Corporation or its ; suppliers and licensors. The Material contains trade secrets and proprietary ; and confidential information of Intel or its suppliers and licensors. The ; Material is protected by worldwide copyright and trade secret laws and ; treaty provisions. No part of the Material may be used, copied, reproduced, ; modified, published, uploaded, posted, transmitted, distributed, or ; disclosed in any way without Intel's prior express written permission.

; ; No license under any patent, copyright, trade secret or other intellectual ; property right is granted to or conferred upon you by disclosure or ; delivery of the Materials, either expressly, by implication, inducement, ; estoppel or otherwise. Any license under such intellectual property rights ; must be express and approved by Intel in writing. ; ;---------------------------------------------------------------------------- ;****************** BEGIN INTEL DISPLAY DRIVER REGISTRY ENTRY ***************** ;****************************************************************************** [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\EMGD] "Dll"="isr_emgd.dll" "Class"=dword:03 "SubClass"=dword:00 "ProgIF"=dword:00 "VendorID"=multi_sz:"8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"0f31","0412","0406","0416","0426" "Prefix"="IGD" "IsrDll"="isr_emgd.dll" "IsrHandler"="isr_handler"

Page 27: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 27

[HKEY_LOCAL_MACHINE\System\GDI\Drivers] "Display"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "D3DMOverride"="ddi_emgd.dll" [HKEY_LOCAL_MACHINE\System\D3DM\Drivers] "RemoteHook"="ddi_emgd.dll" ;****************************************************************************** ; The Following Sections Provide ; General Driver-Wide Registry Settings ;****************************************************************************** [HKEY_LOCAL_MACHINE\Drivers\Display\Intel] ;------------------------------------------------------------------------------ ; Following registry entry for pcf ;------------------------------------------------------------------------------ "PcfVersion"=dword:700 ;------------------------------------------------------------------------------ ; This value dictates the configuration to select for Per-Port settings from ; port specific regsitry. ;------------------------------------------------------------------------------ "ConfigId"=dword:1 ;------------------------------------------------------------------------------ ; Provide a list of port drivers to attempt to load upon boot time ;------------------------------------------------------------------------------ "PortDrivers"="analog lvds hdmi dp" ;****************************************************************************** ; The Following Sections Provide Per-Config configuration ;****************************************************************************** [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\General] ;------------------------------------------------------------------------------ ; Following registry entries for display settings:resolution, bit depth and ; refresh rate ; ; Width & Height values must be hex, for example ; 1400x1050 : 578h x 41Ah ; 1280x1024 : 500h x 400h ; 1024x768 : 400h x 300h ; 800x600 : 320h x 258h ; 640x480 : 280h x 1E0h ; etc... ;------------------------------------------------------------------------------ "Width"=dword:400 "Height"=dword:300 ;------------------------------------------------------------------------------ ; Bit depth must be one of: ; 8bpp : 8 ; 16bpp : 10 ; 32bpp : 20 ;------------------------------------------------------------------------------ "Depth"=dword:20

Page 28: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 28 Document Number: 331947-001US

;------------------------------------------------------------------------------ ; Refresh rate must be in hex: ; 60 : 3c ; 70 : 46 ; 75 : 4b ; 85 : 55 ; etc... ; any refresh rate as long as the display port supports it refresh of '0' will ; take the first refresh that matches width, height and bpp ;------------------------------------------------------------------------------ "Refresh"=dword:3c ;------------------------------------------------------------------------------ ; Display Mode flags: ; ; Default : 0 ; Interlace : 80000000 ; ; Currently interlace is the only supported display flag ;------------------------------------------------------------------------------ "Flags"=dword:0 ;------------------------------------------------------------------------------ ; Below is Maximum Frame Buffer Size used to limit the maximum size in bytes ; of the main frame buffer ; For e.g. ; To support Maximum Resolution up to 1280x1024, the MaxFbSize requires ; 0x00800000 ( 8MB ) ; To support Maximum Resolution up to 1920x1200, the MaxFbSize requires ; 0x00A00000 ( 10MB ) ; To support Maximum Resolution up to 2048x1536, the MaxFbSize requires ; 0x01800000 ( 24MB ) ; To support Vertical Extended for Resolution 1920x1200, the MaxFbSize requires ; 0x01300000 ( 19MB ) ;------------------------------------------------------------------------------ "MaxFbSize"=dword:1800000 ;------------------------------------------------------------------------------ ; Page Request Limit is used to control the max allocations of offscreen video ; surfaces, buffers etc.. value is in number of pages (4K). ; this is independent of dynamic or static memory configuration. ; ; The max for 845, 855, 852 = 128MB = 0x8000 ; The max for 915s, 945s = 256MB = 0x10000 ;------------------------------------------------------------------------------ "PageReqLimit"=dword:0 ;------------------------------------------------------------------------------ ; Above settings are to define a minimum width and height that would allow for ; video surface allocations to succeed, eg: surfaces with width < 16 are ; forced to be in system-mem, surfaces with height < 16 are forced to be in ; system-mem only affects allocations of surfaces with GPE_PREFER_VIDEO_MEMORY ; flag

Page 29: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 29

;------------------------------------------------------------------------------ "MinVidSurfX"=dword:10 "MinVidSurfY"=dword:10 ;------------------------------------------------------------------------------ ; Following are the registry entries for acceleration configuration ;------------------------------------------------------------------------------ ; Set SysToVidStrech to '1' enables driver to perform System to Video stretch ; blits ;------------------------------------------------------------------------------ "SysToVidStretch"=dword:0 ;------------------------------------------------------------------------------ ; Blend filterting method selection ; The hardware must be capable of ; support, else, emulation is done. ; Possible blend methods are: ; BlendFilter 0 == NEAREST ; BlendFilter 1 == BILINEAR ; BlendFilter 2 == ANISOTROPIC ; BlendFIlter 3 == 4X4 ;------------------------------------------------------------------------------ "BlendFilter"=dword:2 ;------------------------------------------------------------------------------ ; Option for enabling/disabling TEARING - Default is OFF ;------------------------------------------------------------------------------ ; Set '1' to enable the NOTEARING option "TearFB"=dword:1 ;------------------------------------------------------------------------------ ; Specify whether to enable d3d ; NO_D3D Value: 0(default) ; : 0 --> Enable D3D ; : 1 --> Disable D3D ;------------------------------------------------------------------------------ "NO_D3D"=dword:0 ;------------------------------------------------------------------------------ ; Legacy Display configuration, single, twin ... ; When a complex (>2 displays) setup is defined, the legacy configuration will ; describe only a portion of the complete system. ; ; Possible Display Config combo: ; DisplayConfig 1 == SINGLE ; (Single is default if none specified) ; DisplayConfig 4 == TWIN ; --> (Twin mode: common timing across ports) ; DisplayConfig 2 == CLONE ; --> (Clone mode: distinct timing per port) ; DisplayConfig 5 == VEXT (vertical extend) ; ; DisplayConfig 8 == EXT ( extended desktop ) ; --> (Also called "Dual Independence Mode")

Page 30: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 30 Document Number: 331947-001US

; --> (Extended mode: distinct timing & head per port) ; --> ( So that you could set two different ) ; --> ( resolution for two displays. ) ;------------------------------------------------------------------------------ "DisplayConfig"=dword:1 ;------------------------------------------------------------------------------ ; Select Port Order ; PortOrder specifies the actual port that will be used for the primary and ; secondary ports. IF specified port is unavailable (port driver failed or ; display detection failed or port is not available on current chipset), then ; the next port in the above order will be used. PortOrder must be set, ; based on chipset specifications: ; ; On E3800 chipsets: ; ==================== ; Port numbers: ; 2 - HDMI-B port ; 3 - HDMI-C port ; 4 - LVDS port ; 5 - Analog port ; 6 - DP-B port ; 7 - DP-C port/eDP port ; ;------------------------------------------------------------------------------ "PortOrder"="50000000" ;------------------------------------------------------------------------------ ; Set Clone Port resolutions ;------------------------------------------------------------------------------ ; "CloneWidth"=dword:320 ; "CloneHeight"=dword:258 ; "CloneRefresh"=dword:3c ; "CloneFlags"=dword:0 ;------------------------------------------------------------------------------ ; Set Extended Port resolutions ;------------------------------------------------------------------------------ ; "ExtendedWidth"=dword:400 ; "ExtendedHeight"=dword:300 ; "ExtendedRefresh"=dword:3c ; "ExtendedFlags"=dword:0 ;------------------------------------------------------------------------------ ; Set "1" to enable Display Detection ; DisplayDetect is to detect display child device before using it ; (panel/tv/etc...).BEWARE, setting this to '1' will mean display for the ; requested port won’t be enabled if detection failed. Use this option wisely. ;------------------------------------------------------------------------------ "DisplayDetect"=dword:0 ;------------------------------------------------------------------------------ ; Set "1" to enable Dual Overlay in Vertical Extended in Windows CE 6.0 ; This is set by the user to enable Dual Hardware Overlays. This is a special ; flag for a specific usage. When two apps request overlays, these two will ; use the two hardware overlays

Page 31: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 31

;------------------------------------------------------------------------------ "OverlayDualVext"=dword:0 ;------------------------------------------------------------------------------ ; Overlay Color Correction Settings ; Gamma: 32-bit integer in 24i.8f format, ranging from 0.6 - 6.0 decimal ; Brightness: 32-bit integer ranging from 0 to 0xFFFF. 0x8000 = no correction ; Contrast: 32-bit integer ranging from 0 to 0xFFFF. 0x8000 = no correction ; Saturation: 32-bit integer ranging from 0 to 0xFFFF. 0x8000 = no correction ;------------------------------------------------------------------------------ ; "OverlayGammaCorrectR"=dword:100 ; "OverlayGammaCorrectG"=dword:100 ; "OverlayGammaCorrectB"=dword:100 ; "OverlayBrightnessCorrect"=dword:8000 ; "OverlayContrastCorrect"=dword:8000 ; "OverlaySaturationCorrect"=dword:8000 ;****************************************************************************** ; The Following Sections Provide Multiple Screens configuration ;****************************************************************************** ;------------------------------------------------------------------------------ ; Total Monitors Settings ; The value here is to tell the WinCE that how many screens it needs to ; initialize and draw. ; When mode setting is not extended mode, the value must be set to "1" ; When mode setting is extended mode, configures the value to be "2" ; ( this is due to our hardware only have 2 independent PIPEs ) ; ( WinCE OS only support this value max to 4, if we have extra PIPEs ) ;------------------------------------------------------------------------------ ;[HKEY_LOCAL_MACHINE\System\GDI\Monitors] ; "Total Monitors"=dword:2 ;****************************************************************************** ; The sections below are for the more detailed per port ; registry configurations. It follows the same usage model and ; key value meanings as the Windows INF registry configuration ; file. ;****************************************************************************** ;------------------------------------------------------------------------- ; Config 1 - HDMI-B Port (For BYT) | ;------------------------------------------------------------------------- ; Following are the registry ; entries for port's general config ;------------------------------------------------------------------------- ; ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\General] ; ; Advanced Edid Configuration ; --------------------------- ; "Edid"=dword:1 ; "EdidAvail"=dword:7 ; STD TIMINGS + EDID TIMINGS + USER TIMINGS ; "EdidNotAvail"=dword:7 ; STD TIMINGS + USER TIMINGS ; ; EdidAvail and EdidNotAvail: <only 16 bits used> ; ---------- ------------- ; These 2 parameters can be used to control the available timings for ; any display. 'EdidAvail' is used when EDID is read from the display

Page 32: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 32 Document Number: 331947-001US

; device. If an attempt to read EDID is failed or 'Edid = 0' then ; driver uses 'EdidNotAvail' flags. ; ; See below bit definitions for both 'EdidAvail' and 'EdidNotAvail' ; ; BIT 0: ; ------ ; 0 - Do not use driver built-in standard timings ; 1 - Use driver built-in standard timings ; ; BIT1: <not applicable to EdidNotAvail> ; ------ ; 0 - Do not use EDID block ; 1 - Use EDID block and filter modes ; ; BIT2: ; ------ ; 0 - Do not use user-DTDs ; 1 - Use user-DTDs. ; ; BIT3-BIT15 ; ----------- ; Future use. ; ; Default behavior: ; ----------------- ; If user doesn't provide EdidAvail and EdidNotAvail, then ; EdidAvail = Use Std timings + Use EDID block and Filter modes ; EdidNotAvail = Use Std timings ; ; Rotation Configuration ; ---------------------- ; "Rotation"=dword:0 ; Rotation entries must be at a right ; angle. An invalid entry will be ignored and ; and no rotation will happen for primary. ; In clone or twin modes, the secondary ; port defaults to follow the primary (if set) ; 0 degrees = 0 (not rotated = default) ; 90 degrees = 5A ; 180 degrees = B4 ; 270 degrees = 10E ; ; Flip Configuration ; ---------------------- ; "Flip"=dword:0 ; Flip has a valid entry of 1 to turn on ; and 0 to turn off. When turn on the display ; will be horizontally flip. ; ; Rendered Scaling Configuration ; ------------------------------ ; "Scale"=dword:0 ; Scale works as a boolean switch. Valid ; entries are zero or 1. When "Scale" = 1, ; driver will scale the requested framebuffer ; resolution to the fixed native panel size ; indicated by per-port FPInfo, User-DTD or ; EDID (in that order).

Page 33: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 33

; In clone or twin modes, the secondary ; port defaults to follow the primary (if set) ;------------------------------------------------------------------------- ; Following are the registry entries ; for port's DVO I2C settings ;------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\DVO] ; "I2cPin"=dword:2 ; "I2cDab"=dword:70 ; "I2cSpeed"=dword:0 ; "DdcPin"=dword:0 ; "DdcSpeed"=dword:0 ;------------------------------------------------------------------------- ; Following are the registry entries ; for port's flat panel's mode-limits, ; power and backlight control ;------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\FPInfo] ; Only need Width & Height if Panel cannot except other timings ; "Width"=dword:0 ; "Height"=dword:0 ; "BkltMethod"=dword:3 ; "BkltT1"=dword:1E ; "BkltT2"=dword:4 ; "BkltT3"=dword:4 ; "BkltT4"=dword:14 ; "BkltT5"=dword:1F4 ; "GpioPinVdd"=dword:27 ; "GpioPinVee"=dword:26 ; "GpioPinBklt"=dword:28 ; "UseGMCHClockPin"=dword:0 ; "UseGMCHDataPin"=dword:0 ;------------------------------------------------------------------------- ; Following are the registry entries ; for ports first custom DTD mode to add ;------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\DTD\1] ; "PixelClock"=dword:9c40 ; "HorzActive"=dword:320 ; "HorzSync"=dword:28 ; "HorzSyncPulse"=dword:80 ; "HorzBorder"=dword:0 ; "HorzBlank"=dword:100 ; "HorzSize"=dword:0 ; "VertActive"=dword:280 ; "VertSync"=dword:1 ; "VertSyncPulse"=dword:4 ; "VertBorder"=dword:0 ; "VertBlank"=dword:1c ; "VertSize"=dword:0 ; "Flags"=dword:1e ;------------------------------------------------------------------------- ; Following are the registry entries ; for ports second custom DTD mode to add ; (Up to 255 can be added) ;-------------------------------------------------------------------------

Page 34: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 34 Document Number: 331947-001US

;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\DTD\2] ; "PixelClock"=dword:9c40 ; "HorzActive"=dword:320 ; "HorzSync"=dword:28 ; "HorzSyncPulse"=dword:80 ; "HorzBorder"=dword:0 ; "HorzBlank"=dword:100 ; "HorzSize"=dword:0 ; "VertActive"=dword:258 ; "VertSync"=dword:1 ; "VertSyncPulse"=dword:4 ; "VertBorder"=dword:0 ; "VertBlank"=dword:1c ; "VertSize"=dword:0 ; "Flags"=dword:1e ;------------------------------------------------------------------------- ; Following are the registry ; entries for the port device' ; display attribute parameters ; Use when enabling Port device ; example below is for Conexant ; on Port2 (DVO-B for almador) ; key names depend on port driver ;------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\2\Attr] ; "Brightness"=dword:32 ; "Contrast"=dword:4 ; "Flicker Filter"=dword:1 ; "Saturation"=dword:4 ; "Hue"=dword:32 ; "Text Filter"=dword:0 ; "Macrovision"=dword:0 ; "Overscan ratio"=dword:1 ; "TV Format"=dword:1 ; "TV Output"=dword:1 ; "Composite and S-Video"=dword:1 ;------------------------------------------------------------------------- ; Config 1 - Analog Port (For Any Chipset) ;------------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\5\General] "Edid"=dword:1 "EdidAvail"=dword:3 ; STD TIMINGS + EDID TIMINGS + USER TIMINGS "EdidNotAvail"=dword:4 ; STD TIMINGS + USER TIMINGS ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\5\attr] ; GAMMA, BRIGHTNESS, CONTRAST ; "35"=dword:a0a0a0 ; gamma: 3i.5f format for R-G-B, ranging 0.6 to 6 ; "36"=dword:808080 ; brightness: 0 to FF, 0x80 is no correction ; "37"=dword:808080 ; contrast: 0 to FF, 0x80 is no correction ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\5\DTD\1] ; "PixelClock"=dword:9c40 ; "HorzActive"=dword:320 ; "HorzSync"=dword:28 ; "HorzSyncPulse"=dword:80 ; "HorzBorder"=dword:0 ; "HorzBlank"=dword:100

Page 35: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* January 2015 User Guide Document Number: 331947-001US 35

; "HorzSize"=dword:0 ; "VertActive"=dword:280 ; "VertSync"=dword:1 ; "VertSyncPulse"=dword:4 ; "VertBorder"=dword:0 ; "VertBlank"=dword:1c ; "VertSize"=dword:0 ; "Flags"=dword:1e ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\5\DTD\2] ; "PixelClock"=dword:9c40 ; "HorzActive"=dword:320 ; "HorzSync"=dword:28 ; "HorzSyncPulse"=dword:80 ; "HorzBorder"=dword:0 ; "HorzBlank"=dword:100 ; "HorzSize"=dword:0 ; "VertActive"=dword:258 ; "VertSync"=dword:1 ; "VertSyncPulse"=dword:4 ; "VertBorder"=dword:0 ; "VertBlank"=dword:1c ; "VertSize"=dword:0 ; "Flags"=dword:1e ;-------------------------------------------------------------------------- ; Config 1 - Int-DP-B Port (For BYT) ;-------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\6\General] ; "Edid"=dword:1 ; "EdidAvail"=dword:3 ; STD TIMINGS + EDID TIMINGS ; "EdidNotAvail"=dword:4 ; STD TIMINGS + USER TIMINGS ;-------------------------------------------------------------------------- ; Config 1 - Int-DP-C Port (For BYT) ;-------------------------------------------------------------------------- ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\7\General] ; "Edid"=dword:1 ; "EdidAvail"=dword:3 ; STD TIMINGS + EDID TIMINGS ; "EdidNotAvail"=dword:4 ; STD TIMINGS + USER TIMINGS ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\8\General] ; "Edid"=dword:1 ; "EdidAvail"=dword:3 ; STD TIMINGS + EDID TIMINGS ; "EdidNotAvail"=dword:4 ; STD TIMINGS + USER TIMINGS ;[HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\8\FPInfo] ; min max ;"BkltMethod"=dword:1 ; ; ------ -------- ;"BkltT1"=dword:c8 ; 1 ms 400 ms ;"BkltT2"=dword:1 ; 0 ms 50 ms ;"BkltT3"=dword:c8 ; - ms - ms ;"BkltT4"=dword:32 ; 0 ms 500 ms ;"BkltT5"=dword:1f4 ; 500 ms - ms ; [HKEY_LOCAL_MACHINE\Drivers\Display\Intel\ALL\1\Port\8\DTD\1] ; "PixelClock"=dword:10eb4 ;69300 ; "HorzActive"=dword:556 ; "HorzSync"=dword:30 ; "HorzSyncPulse"=dword:20 ; "HorzBorder"=dword:0 ; "HorzBlank"=dword:a0

Page 36: Intel EMGD 4th Gen Intel Processors for WEC7 and WEC 2013 · Introduction Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015

Example: Emgd.reg File

Intel® EMGD v37.16.0 for 4th Generation Intel® Processors for WEC 7* and WEC 2013* User Guide January 2015 36 Document Number: 331947-001US

; "HorzSize"=dword:0 ; "VertActive"=dword:300 ; "VertSync"=dword:3 ; "VertSyncPulse"=dword:5 ; "VertBorder"=dword:0 ; "VertBlank"=dword:16 ; "VertSize"=dword:0 ; "Flags"=dword:8000000 ; Optional - Only enable for font anti-aliasing ; Enabling this causes minor performance impact ; Only recommended for TV Output. ;[HKEY_LOCAL_MACHINE\System\GDI\Fontsmoothing] ; ;[HKEY_LOCAL_MACHINE\System\GDI] ; "ForceGRAY16"=dword:1 ;******************* INTEL DISPLAY DRIVER REGISTRY ENTRY END ****************** ;******************************************************************************

§§