Merge tag 'metag-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...
[sfrench/cifs-2.6.git] / Documentation / gpu / vga-switcheroo.rst
1 .. _vga_switcheroo:
2
3 ==============
4 VGA Switcheroo
5 ==============
6
7 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
8    :doc: Overview
9
10 Modes of Use
11 ============
12
13 Manual switching and manual power control
14 -----------------------------------------
15
16 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
17    :doc: Manual switching and manual power control
18
19 Driver power control
20 --------------------
21
22 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
23    :doc: Driver power control
24
25 API
26 ===
27
28 Public functions
29 ----------------
30
31 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
32    :export:
33
34 Public structures
35 -----------------
36
37 .. kernel-doc:: include/linux/vga_switcheroo.h
38    :functions: vga_switcheroo_handler
39
40 .. kernel-doc:: include/linux/vga_switcheroo.h
41    :functions: vga_switcheroo_client_ops
42
43 Public constants
44 ----------------
45
46 .. kernel-doc:: include/linux/vga_switcheroo.h
47    :functions: vga_switcheroo_handler_flags_t
48
49 .. kernel-doc:: include/linux/vga_switcheroo.h
50    :functions: vga_switcheroo_client_id
51
52 .. kernel-doc:: include/linux/vga_switcheroo.h
53    :functions: vga_switcheroo_state
54
55 Private structures
56 ------------------
57
58 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
59    :functions: vgasr_priv
60
61 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
62    :functions: vga_switcheroo_client
63
64 Handlers
65 ========
66
67 apple-gmux Handler
68 ------------------
69
70 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
71    :doc: Overview
72
73 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
74    :doc: Interrupt
75
76 Graphics mux
77 ~~~~~~~~~~~~
78
79 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
80    :doc: Graphics mux
81
82 Power control
83 ~~~~~~~~~~~~~
84
85 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
86    :doc: Power control
87
88 Backlight control
89 ~~~~~~~~~~~~~~~~~
90
91 .. kernel-doc:: drivers/platform/x86/apple-gmux.c
92    :doc: Backlight control
93
94 Public functions
95 ~~~~~~~~~~~~~~~~
96
97 .. kernel-doc:: include/linux/apple-gmux.h
98    :internal: