summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2018-01-25 18:23:15 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-01-29 09:41:35 +0000
commit0f68b23aafc102926ccc833b228d098f5613f3e8 (patch)
treee269e4f69ee8258087d0dbeba08346a7b0f96986 /src/soc/intel/skylake
parent26436fb09a5176d46e9057e19f6e262052e72b05 (diff)
downloadcoreboot-0f68b23aafc102926ccc833b228d098f5613f3e8.tar.xz
intel: Prepare registers so Windows drivers are happier
Change-Id: I12ebed30de4df9814ccb62341c7715fc62c7f5b9 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/23431 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/skylake')
-rw-r--r--src/soc/intel/skylake/graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/graphics.c b/src/soc/intel/skylake/graphics.c
index 8e6d6ec3f2..f39f39c6a0 100644
--- a/src/soc/intel/skylake/graphics.c
+++ b/src/soc/intel/skylake/graphics.c
@@ -67,6 +67,8 @@ static void update_igd_opregion(igd_opregion_t *opregion)
{
u16 reg16;
+ opregion->mailbox1.clid = 1;
+
/* Initialize Mailbox 3 */
opregion->mailbox3.bclp = IGD_BACKLIGHT_BRIGHTNESS;
opregion->mailbox3.pfit = IGD_FIELD_VALID | IGD_PFIT_STRETCH;