soc/intel/broadwell: add support for Intel GMA OpRegion
commit773488f3f7fc76ca252562435cb3a9f7abf64f5e
authorMatt DeVillier <matt.devillier@gmail.com>
Wed, 18 Oct 2017 17:27:25 +0000 (18 12:27 -0500)
committerMartin Roth <martinroth@google.com>
Thu, 15 Mar 2018 14:15:29 +0000 (15 14:15 +0000)
tree3942ebfa279bd37562544f1257b0708e8cea1ebe
parentcb9f55ec388f733bbfa4851b3fdd9f49d648425f
soc/intel/broadwell: add support for Intel GMA OpRegion

Add global/ACPI nvs variables required for IGD OpRegion.
Add functions necessary to generate ACPI OpRegion, save the
table address in ASLB, and restore table address upon S3 resume.

Implementation largely based on existing Haswell/Lynxpoint code.

Test: boot Windows 10 on google/lulu with Tianocore payload and
GOP display init, observe display driver loaded and functional,
display not black screen when resuming from S3 suspend.

Change-Id: I024f4f0784df3cbbb9977692e9ef0ff9c3552725
Signed-off-by: CoolStar <coolstarorganization@gmail.com>
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/25094
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/soc/intel/broadwell/Kconfig
src/soc/intel/broadwell/acpi/globalnvs.asl
src/soc/intel/broadwell/igd.c
src/soc/intel/broadwell/include/soc/nvs.h