blob: 57563933ce28fce49ab10f05a89ade748ee5720f [file] [log] [blame]
Nico Huber53ec8c52020-03-21 19:50:26 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Patrick Georgi2efc8802012-11-06 11:03:53 +01003
4Device (GFX0)
5{
6 Name (_ADR, 0x00020000)
7
Vladimir Serbinenkof3155d22014-08-10 23:53:42 +02008 OperationRegion (GFXC, PCI_Config, 0x00, 0x0100)
9 Field (GFXC, DWordAcc, NoLock, Preserve)
10 {
11 Offset (0x10),
Patrick Rudolph6838aae2018-07-29 10:53:01 +020012 BAR0, 64,
13 Offset (0xe4),
14 ASLE, 32,
15 Offset (0xfc),
16 ASLS, 32,
Edward O'Callaghan4568f192014-12-06 14:32:23 +110017 }
Vladimir Serbinenkof3155d22014-08-10 23:53:42 +020018
Nico Huberd5842f52015-09-24 17:45:45 +020019 OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000)
Vladimir Serbinenkof3155d22014-08-10 23:53:42 +020020 Field (GFRG, DWordAcc, NoLock, Preserve)
21 {
Nico Huber612a8672019-02-19 19:11:29 +010022 Offset (CONFIG_INTEL_GMA_BCLV_OFFSET),
23 BCLV, CONFIG_INTEL_GMA_BCLV_WIDTH,
24 Offset (CONFIG_INTEL_GMA_BCLM_OFFSET),
25 BCLM, CONFIG_INTEL_GMA_BCLM_WIDTH
Vladimir Serbinenkof3155d22014-08-10 23:53:42 +020026 }
27
Nico Huber954a55b2015-08-27 13:31:46 +020028#include "configure_brightness_levels.asl"
Nico Huber62047d12015-08-27 15:07:03 +020029#include "common.asl"
Patrick Georgi2efc8802012-11-06 11:03:53 +010030}