Linux 6.12-rc7
[linux-stable.git] / Documentation / gpu / vga-switcheroo.rst
blobcbbdb994f1ddcb67990b0cc51700890cd498347f
1 .. _vga_switcheroo:
3 ==============
4 VGA Switcheroo
5 ==============
7 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
8    :doc: Overview
10 Modes of Use
11 ============
13 Manual switching and manual power control
14 -----------------------------------------
16 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
17    :doc: Manual switching and manual power control
19 Driver power control
20 --------------------
22 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
23    :doc: Driver power control
25 API
26 ===
28 Public functions
29 ----------------
31 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
32    :export:
34 Public structures
35 -----------------
37 .. kernel-doc:: include/linux/vga_switcheroo.h
38    :functions: vga_switcheroo_handler
40 .. kernel-doc:: include/linux/vga_switcheroo.h
41    :functions: vga_switcheroo_client_ops
43 Public constants
44 ----------------
46 .. kernel-doc:: include/linux/vga_switcheroo.h
47    :functions: vga_switcheroo_handler_flags_t
49 .. kernel-doc:: include/linux/vga_switcheroo.h
50    :functions: vga_switcheroo_client_id
52 .. kernel-doc:: include/linux/vga_switcheroo.h
53    :functions: vga_switcheroo_state
55 Private structures
56 ------------------
58 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
59    :functions: vgasr_priv
61 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
62    :functions: vga_switcheroo_client
64 Handlers
65 ========
67 apple-gmux Handler
68 ------------------
70 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
71    :doc: Overview
73 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
74    :doc: Interrupt
76 Graphics mux
77 ~~~~~~~~~~~~
79 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
80    :doc: Graphics mux
82 Power control
83 ~~~~~~~~~~~~~
85 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
86    :doc: Power control
88 Backlight control
89 ~~~~~~~~~~~~~~~~~
91 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
92    :doc: Backlight control
94 Public functions
95 ~~~~~~~~~~~~~~~~
97 .. kernel-doc:: include/linux/apple-gmux.h
98    :internal: