coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gma.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _GMA_H_
4 #define _GMA_H_
5 
6 #include <stdint.h>
7 
10  int ndid;
11  u32 did[5];
12 };
13 
14 /* Devicetree panel configuration */
16  unsigned int up_delay_ms;
17  unsigned int down_delay_ms;
18  unsigned int cycle_delay_ms;
19  unsigned int backlight_on_delay_ms;
20  unsigned int backlight_off_delay_ms;
21  unsigned int backlight_pwm_hz;
22  enum {
26 };
27 
28 #define GMA_STATIC_DISPLAYS(ssc) { \
29  .use_spread_spectrum_clock = (ssc), \
30  .ndid = 3, .did = { 0x0100, 0x0240, 0x0410, } \
31 }
32 
33 /* Shortcut for one internal panel at port A */
34 #define GMA_DEFAULT_PANEL(ssc) { \
35  .use_spread_spectrum_clock = (ssc), \
36  .ndid = 1, .did = { 0x0400 } \
37 }
38 
40 
41 #endif
void drivers_intel_gma_displays_ssdt_generate(const struct i915_gpu_controller_info *conf)
Definition: acpi.c:8
uint32_t u32
Definition: stdint.h:51
int use_spread_spectrum_clock
Definition: gma.h:9
unsigned int up_delay_ms
Definition: gma.h:16
unsigned int backlight_off_delay_ms
Definition: gma.h:20
unsigned int backlight_on_delay_ms
Definition: gma.h:19
unsigned int cycle_delay_ms
Definition: gma.h:18
@ GPU_BACKLIGHT_POLARITY_LOW
Definition: gma.h:24
@ GPU_BACKLIGHT_POLARITY_HIGH
Definition: gma.h:23
enum i915_gpu_panel_config::@68 backlight_polarity
unsigned int down_delay_ms
Definition: gma.h:17
unsigned int backlight_pwm_hz
Definition: gma.h:21