diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2016-06-10 10:55:59 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-06-10 11:33:17 -0400 |
commit | 5b8090747a1186f8f6a1d3a7e49f792b13ab7b84 (patch) | |
tree | 6af6eb3734ebd8ff14c84debaf90f801d8bfe092 /Documentation/DocBook | |
parent | c2a441fe8f7f62571e47ce3f4fa3d97edd092dd9 (diff) |
drm: Add helper for simple display pipeline
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.
Changes since v4:
- Remove drm_connector_register() call
- Forgot to assign pipe->connector
Changes since v3:
- (struct drm_simple_display_pipe *)->funcs should be const
Changes since v2:
- Drop Kconfig knob DRM_KMS_HELPER
- Expand documentation
Changes since v1:
- Add DOC header and add to gpu.tmpl
- Fix docs: @funcs is optional, "negative error code",
"This hook is optional."
- Add checks to drm_simple_kms_plane_atomic_check()
Cc: jsarha@ti.com
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465570559-14238-1-git-send-email-noralf@tronnes.org
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/gpu.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/DocBook/gpu.tmpl b/Documentation/DocBook/gpu.tmpl index 89585ad69a4b..d09536c91717 100644 --- a/Documentation/DocBook/gpu.tmpl +++ b/Documentation/DocBook/gpu.tmpl | |||
@@ -1688,6 +1688,12 @@ void intel_crt_init(struct drm_device *dev) | |||
1688 | !Edrivers/gpu/drm/drm_panel.c | 1688 | !Edrivers/gpu/drm/drm_panel.c |
1689 | !Pdrivers/gpu/drm/drm_panel.c drm panel | 1689 | !Pdrivers/gpu/drm/drm_panel.c drm panel |
1690 | </sect2> | 1690 | </sect2> |
1691 | <sect2> | ||
1692 | <title>Simple KMS Helper Reference</title> | ||
1693 | !Iinclude/drm/drm_simple_kms_helper.h | ||
1694 | !Edrivers/gpu/drm/drm_simple_kms_helper.c | ||
1695 | !Pdrivers/gpu/drm/drm_simple_kms_helper.c overview | ||
1696 | </sect2> | ||
1691 | </sect1> | 1697 | </sect1> |
1692 | 1698 | ||
1693 | <!-- Internals: kms properties --> | 1699 | <!-- Internals: kms properties --> |