From a56cf5fd57d9853b8ee62c8a5dc6c1ca374d3c15 Mon Sep 17 00:00:00 2001 From: Guo Mang Date: Fri, 23 Dec 2016 13:37:43 +0800 Subject: BroxtonPlatformPkg: Add AcpiTablesPCAT Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang --- .../Common/Acpi/AcpiTablesPCAT/Video.asl | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Video.asl (limited to 'Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Video.asl') diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Video.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Video.asl new file mode 100644 index 0000000000..d9151b89d3 --- /dev/null +++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Video.asl @@ -0,0 +1,32 @@ +/** @file + Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.
+ + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php. + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +External(\_SB.PCI0.GFX0.DD1F) + +// Brightness Notification: +// Generate a brightness related notification +// to the LFP if its populated. +// +// Arguments: +// Arg0: Notification value. +// +// Return Value: +// None + +Method(BRTN,1,Serialized) +{ + If (LEqual(And(DIDX,0x0F00),0x400)) { + Notify(\_SB.PCI0.GFX0.DD1F,Arg0) + } +} + -- cgit v1.2.3