soc/intel/skylake: Save/restore GMA OpRegion address
commit76d17719fe44faa4aa97fd6c26f121ba279761dd
authorMatt DeVillier <matt.devillier@gmail.com>
Sat, 1 Jul 2017 17:25:46 +0000 (1 12:25 -0500)
committerMartin Roth <martinroth@google.com>
Fri, 30 Mar 2018 07:21:03 +0000 (30 07:21 +0000)
tree2f3ac06dd8a153872d5656883be6397858daf66f
parent132bbe6be537b5cb8e827e01f28086d3e3ce6677
soc/intel/skylake: Save/restore GMA OpRegion address

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

Implementation modeled on existing Baytrail code.

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

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