summaryrefslogtreecommitdiff
path: root/util/post
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-10-19 22:44:18 -0500
committerMartin Roth <martinroth@google.com>2017-10-23 16:58:35 +0000
commitfd0a891ee9ed0947123e893505bdfc8ada408ab9 (patch)
tree16d58307462115acaffcd1096c4d5c21cdb2d4a0 /util/post
parentfb1cd09596cfbbaa3b4ec7ec45b6ec8d8fa52411 (diff)
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>
Diffstat (limited to 'util/post')
0 files changed, 0 insertions, 0 deletions