diff options
author | Michael Witten <mfwitten@gmail.com> | 2011-08-25 16:55:58 -0400 |
---|---|---|
committer | Michael Witten <mfwitten@gmail.com> | 2011-08-29 16:00:16 -0400 |
commit | 65ffef508f23d5e67940cadc8eca2ae34738018a (patch) | |
tree | 444a8dba02096fa9e292bf820cbcd50cd40dbb6c /Documentation/DocBook | |
parent | 4dc0152d5780f04573046b06a3fb7c7ad9b81afa (diff) |
DocBook/drm: Use an itemizedlist for what an encoder needs to provide
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 09e02f7c668c..da011f2af9cb 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
@@ -586,17 +586,25 @@ void intel_crt_init(struct drm_device *dev) | |||
586 | </para> | 586 | </para> |
587 | </sect4> | 587 | </sect4> |
588 | <para> | 588 | <para> |
589 | For each encoder, CRTC, and connector, several functions must | 589 | Each encoder object needs to provide: |
590 | be provided, depending on the object type. Encoder objects | 590 | <itemizedlist> |
591 | need to provide a DPMS (basically on/off) function, mode fixup | 591 | <listitem> |
592 | (for converting requested modes into native hardware timings), | 592 | A DPMS (basically on/off) function. |
593 | and prepare, set and commit functions for use by the core DRM | 593 | </listitem> |
594 | helper functions. Connector helpers need to provide mode fetch and | 594 | <listitem> |
595 | validity functions as well as an encoder matching function for | 595 | A mode-fixup function (for converting requested modes into |
596 | returning an ideal encoder for a given connector. The core | 596 | native hardware timings). |
597 | connector functions include a DPMS callback, (deprecated) | 597 | </listitem> |
598 | save/restore routines, detection, mode probing, property handling, | 598 | <listitem> |
599 | and cleanup functions. | 599 | Functions (prepare, set, and commit) for use by the core DRM |
600 | helper functions. | ||
601 | </listitem> | ||
602 | </itemizedlist> | ||
603 | Connector helpers need to provide functions (mode-fetch, validity, | ||
604 | and encoder-matching) for returning an ideal encoder for a given | ||
605 | connector. The core connector functions include a DPMS callback, | ||
606 | save/restore routines (deprecated), detection, mode probing, | ||
607 | property handling, and cleanup functions. | ||
600 | </para> | 608 | </para> |
601 | <!--!Edrivers/char/drm/drm_crtc.h--> | 609 | <!--!Edrivers/char/drm/drm_crtc.h--> |
602 | <!--!Edrivers/char/drm/drm_crtc.c--> | 610 | <!--!Edrivers/char/drm/drm_crtc.c--> |