coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _LENOVO_HYBRID_GRAPHICS_CHIP_H_
4 #define _LENOVO_HYBRID_GRAPHICS_CHIP_H_
5 
6 #define HYBRID_GRAPHICS_PORT 0xff
7 
8 #define HYBRID_GRAPHICS_DEVICE 0xf
9 
14 };
15 
19 };
20 
21 #define HYBRID_GRAPHICS_DEFAULT_GPU HYBRID_GRAPHICS_INTEGRATED
22 
24  unsigned int detect_gpio;
25 
26  unsigned int has_panel_hybrid_gpio;
27  unsigned int panel_hybrid_gpio;
28  unsigned int panel_integrated_lvl;
29 
30  unsigned int has_backlight_gpio;
31  unsigned int backlight_gpio;
33 
34  unsigned int has_dgpu_power_gpio;
35  unsigned int dgpu_power_gpio;
36  unsigned int dgpu_power_off_lvl;
37 
38  unsigned int has_thinker1;
39 };
40 
41 #endif /* _LENOVO_HYBRID_GRAPHICS_CHIP_H_ */
dgpu_detect_lvl
Definition: chip.h:16
@ DGPU_NOT_INSTALLED
Definition: chip.h:18
@ DGPU_INSTALLED
Definition: chip.h:17
hybrid_graphics_req
Definition: chip.h:10
@ HYBRID_GRAPHICS_DUAL
Definition: chip.h:13
@ HYBRID_GRAPHICS_DISCRETE
Definition: chip.h:12
@ HYBRID_GRAPHICS_INTEGRATED
Definition: chip.h:11
unsigned int has_panel_hybrid_gpio
Definition: chip.h:26
unsigned int backlight_integrated_lvl
Definition: chip.h:32