b754b35b08
Move the documentation into Documentation/gpu, link it up and pull in the kernel doc. No actual text changes except that I did polish the kerneldoc a bit, especially for vga_client_register(). v2: Remove some rst from vga-switcheroo.rst that I don't understand, but which seems to be the reason why the new vgaarbiter.rst sometimes drops out of the sidebar index. v3: Drop one level of headings and clarify the vgaarb one a bit. v4: Fix some typos (Sean). Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Sean Paul <seanpaul@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1471034937-651-20-git-send-email-daniel.vetter@ffwll.ch
97 lines
1.8 KiB
ReStructuredText
97 lines
1.8 KiB
ReStructuredText
==============
|
|
VGA Switcheroo
|
|
==============
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:doc: Overview
|
|
|
|
Modes of Use
|
|
============
|
|
|
|
Manual switching and manual power control
|
|
-----------------------------------------
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:doc: Manual switching and manual power control
|
|
|
|
Driver power control
|
|
--------------------
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:doc: Driver power control
|
|
|
|
API
|
|
===
|
|
|
|
Public functions
|
|
----------------
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:export:
|
|
|
|
Public structures
|
|
-----------------
|
|
|
|
.. kernel-doc:: include/linux/vga_switcheroo.h
|
|
:functions: vga_switcheroo_handler
|
|
|
|
.. kernel-doc:: include/linux/vga_switcheroo.h
|
|
:functions: vga_switcheroo_client_ops
|
|
|
|
Public constants
|
|
----------------
|
|
|
|
.. kernel-doc:: include/linux/vga_switcheroo.h
|
|
:functions: vga_switcheroo_handler_flags_t
|
|
|
|
.. kernel-doc:: include/linux/vga_switcheroo.h
|
|
:functions: vga_switcheroo_client_id
|
|
|
|
.. kernel-doc:: include/linux/vga_switcheroo.h
|
|
:functions: vga_switcheroo_state
|
|
|
|
Private structures
|
|
------------------
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:functions: vgasr_priv
|
|
|
|
.. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
|
:functions: vga_switcheroo_client
|
|
|
|
Handlers
|
|
========
|
|
|
|
apple-gmux Handler
|
|
------------------
|
|
|
|
.. kernel-doc:: drivers/platform/x86/apple-gmux.c
|
|
:doc: Overview
|
|
|
|
.. kernel-doc:: drivers/platform/x86/apple-gmux.c
|
|
:doc: Interrupt
|
|
|
|
Graphics mux
|
|
~~~~~~~~~~~~
|
|
|
|
.. kernel-doc:: drivers/platform/x86/apple-gmux.c
|
|
:doc: Graphics mux
|
|
|
|
Power control
|
|
~~~~~~~~~~~~~
|
|
|
|
.. kernel-doc:: drivers/platform/x86/apple-gmux.c
|
|
:doc: Power control
|
|
|
|
Backlight control
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. kernel-doc:: drivers/platform/x86/apple-gmux.c
|
|
:doc: Backlight control
|
|
|
|
Public functions
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
.. kernel-doc:: include/linux/apple-gmux.h
|
|
:internal:
|