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