Skip to content

Commit

Permalink
drm/vc4: Add a paragraph at the top of vc4 docs introducing what it is.
Browse files Browse the repository at this point in the history
This makes for more sensible documentation of the whole module than
jumping straight into the details of display.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170227201144.10970-5-eric@anholt.net
  • Loading branch information
Eric Anholt committed Feb 28, 2017
1 parent f6c0153 commit b787963
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/gpu/vc4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
drm/vc4 Broadcom VC4 Graphics Driver
=====================================

.. kernel-doc:: drivers/gpu/drm/vc4/vc4_drv.c
:doc: Broadcom VC4 Graphics Driver

Display Hardware Handling
=========================

Expand Down
16 changes: 16 additions & 0 deletions drivers/gpu/drm/vc4/vc4_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@
* published by the Free Software Foundation.
*/

/**
* DOC: Broadcom VC4 Graphics Driver
*
* The Broadcom VideoCore 4 (present in the Raspberry Pi) contains a
* OpenGL ES 2.0-compatible 3D engine called V3D, and a highly
* configurable display output pipeline that supports HDMI, DSI, DPI,
* and Composite TV output.
*
* The 3D engine also has an interface for submitting arbitrary
* compute shader-style jobs using the same shader processor as is
* used for vertex and fragment shaders in GLES 2.0. However, given
* that the hardware isn't able to expose any standard interfaces like
* OpenGL compute shaders or OpenCL, it isn't supported by this
* driver.
*/

#include <linux/clk.h>
#include <linux/component.h>
#include <linux/device.h>
Expand Down

0 comments on commit b787963

Please sign in to comment.