coreboot-kgpe-d16/src/drivers/intel
Matt DeVillier fd0a891ee9 drv/intel/gma/opregion: fix opregion version for Windows
Although Intel's current spec[1] shows the OpRegion structure version 
as being the top 16 bits of the field, Intel's Windows drivers
require the OpRegion structure version to be in the top 8 bits of
the field when not using a VGA BIOS (eg, NGI or GOP driver).

As the Linux i915 driver only checks that the version is >= 2,
there is no change in functionality there.

This change effectively matches Intel's implementation in TianoCore,
where the version is set to 0x0200 << 16.

[1] https://01.org/sites/default/files/documentation/skl_opregion_rev0p5.pdf

TEST: Boot Windows [8.1,10] in UEFI mode w/GOP graphics init and
Legacy mode with libgfxinit, observe Intel GPU driver functional.

Change-Id: Ic2903ee4829689ec4117aec93dce0b87cec6f313
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/22118
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-10-23 16:58:35 +00:00
..
fsp1_0 fsp1_0/fsp_util: Rename global symbol find_fsp 2017-09-13 19:18:08 +00:00
fsp1_1 security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
fsp2_0 security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
gma drv/intel/gma/opregion: fix opregion version for Windows 2017-10-23 16:58:35 +00:00
i210 intel/i210: Set bus master bit in command register 2017-10-22 01:38:12 +00:00
mipi_camera device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
wifi device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00