Nico Huber | 53ec8c5 | 2020-03-21 19:50:26 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Patrick Georgi | 2efc880 | 2012-11-06 11:03:53 +0100 | [diff] [blame] | 3 | |
| 4 | Device (GFX0) |
| 5 | { |
| 6 | Name (_ADR, 0x00020000) |
| 7 | |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 8 | OperationRegion (GFXC, PCI_Config, 0x00, 0x0100) |
| 9 | Field (GFXC, DWordAcc, NoLock, Preserve) |
| 10 | { |
| 11 | Offset (0x10), |
Patrick Rudolph | 6838aae | 2018-07-29 10:53:01 +0200 | [diff] [blame] | 12 | BAR0, 64, |
| 13 | Offset (0xe4), |
| 14 | ASLE, 32, |
| 15 | Offset (0xfc), |
| 16 | ASLS, 32, |
Edward O'Callaghan | 4568f19 | 2014-12-06 14:32:23 +1100 | [diff] [blame] | 17 | } |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 18 | |
Nico Huber | d5842f5 | 2015-09-24 17:45:45 +0200 | [diff] [blame] | 19 | OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000) |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 20 | Field (GFRG, DWordAcc, NoLock, Preserve) |
| 21 | { |
Nico Huber | d5842f5 | 2015-09-24 17:45:45 +0200 | [diff] [blame] | 22 | Offset (0x61254), |
| 23 | BCLV, 16, |
| 24 | BCLM, 16, |
Vladimir Serbinenko | f3155d2 | 2014-08-10 23:53:42 +0200 | [diff] [blame] | 25 | } |
| 26 | |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 27 | #include "configure_brightness_levels.asl" |
Nico Huber | 62047d1 | 2015-08-27 15:07:03 +0200 | [diff] [blame] | 28 | #include "common.asl" |
Patrick Georgi | 2efc880 | 2012-11-06 11:03:53 +0100 | [diff] [blame] | 29 | } |