Patrick Georgi | 2efc880 | 2012-11-06 11:03:53 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Patrick Georgi | 2efc880 | 2012-11-06 11:03:53 +0100 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | Device (GFX0) |
| 18 | { |
| 19 | Name (_ADR, 0x00020000) |
| 20 | |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 21 | OperationRegion (GFXC, PCI_Config, 0x00, 0x0100) |
| 22 | Field (GFXC, DWordAcc, NoLock, Preserve) |
| 23 | { |
| 24 | Offset (0x10), |
Patrick Rudolph | 6838aae | 2018-07-29 10:53:01 +0200 | [diff] [blame^] | 25 | BAR0, 64, |
| 26 | Offset (0xe4), |
| 27 | ASLE, 32, |
| 28 | Offset (0xfc), |
| 29 | ASLS, 32, |
Edward O'Callaghan | 4568f19 | 2014-12-06 14:32:23 +1100 | [diff] [blame] | 30 | } |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 31 | |
Nico Huber | d5842f5 | 2015-09-24 17:45:45 +0200 | [diff] [blame] | 32 | OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000) |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 33 | Field (GFRG, DWordAcc, NoLock, Preserve) |
| 34 | { |
Nico Huber | d5842f5 | 2015-09-24 17:45:45 +0200 | [diff] [blame] | 35 | Offset (0x61254), |
| 36 | BCLV, 16, |
| 37 | BCLM, 16, |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 38 | } |
| 39 | |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 40 | #include "configure_brightness_levels.asl" |
Nico Huber | 62047d1 | 2015-08-27 15:07:03 +0200 | [diff] [blame] | 41 | #include "common.asl" |
Patrick Georgi | 2efc880 | 2012-11-06 11:03:53 +0100 | [diff] [blame] | 42 | } |