Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame] | 1 | /**************************************************************************;
|
| 2 | ;* *;
|
| 3 | ;* *;
|
| 4 | ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
|
| 5 | ;* Family of Customer Reference Boards. *;
|
| 6 | ;* *;
|
| 7 | ;* *;
|
| 8 | ;* Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved *;
|
| 9 | ;
|
| 10 | ; This program and the accompanying materials are licensed and made available under
|
| 11 | ; the terms and conditions of the BSD License that accompanies this distribution.
|
| 12 | ; The full text of the license may be found at
|
| 13 | ; http://opensource.org/licenses/bsd-license.php.
|
| 14 | ;
|
| 15 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 16 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 17 | ;
|
| 18 | ;* *;
|
| 19 | ;* *;
|
| 20 | ;**************************************************************************/
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 | // Brightness Notification:
|
| 26 | // Generate a brightness related notification
|
| 27 | // to the LFP if its populated.
|
| 28 | //
|
| 29 | // Arguments:
|
| 30 | // Arg0: Notification value.
|
| 31 | //
|
| 32 | // Return Value:
|
| 33 | // None
|
| 34 | Method(BRTN,1,Serialized)
|
| 35 | {
|
| 36 | If(LEqual(And(DIDX,0x0F00),0x400))
|
| 37 | {
|
| 38 | Notify(\_SB.PCI0.GFX0.DD1F,Arg0)
|
| 39 | }
|
| 40 | }
|