summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/opregion.c
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/drivers/intel/gma/opregion.c
parent26436fb09a5176d46e9057e19f6e262052e72b05 (diff)
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/drivers/intel/gma/opregion.c')
-rw-r--r--src/drivers/intel/gma/opregion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c
index b6d4e07790..74c629c9c2 100644
--- a/src/drivers/intel/gma/opregion.c
+++ b/src/drivers/intel/gma/opregion.c
@@ -285,6 +285,7 @@ intel_gma_init_igd_opregion(igd_opregion_t *opregion)
opregion->header.mailboxes = MAILBOXES_MOBILE;
// TODO Initialize Mailbox 1
+ opregion->mailbox1.clid = 1;
// TODO Initialize Mailbox 3
opregion->mailbox3.bclp = IGD_BACKLIGHT_BRIGHTNESS;