All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm: Add various helpers for simple drivers
@ 2016-05-12 12:53 ` Noralf Trønnes
  0 siblings, 0 replies; 12+ messages in thread
From: Noralf Trønnes @ 2016-05-12 12:53 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-kernel

This patchset adds various helpers that was originally part of the
tinydrm patchset.

4 patches from the previous version have been applied and 2 are now left.

Essentially it adds 2 functions:
- drm_fb_cma_create_with_funcs()
  CMA backed framebuffer supporting a dirty() callback.
- drm_simple_display_pipe_init()
  Plane, crtc and encoder are collapsed into one entity.


Changes since v2:
- drm: Add helper for simple display pipeline
  - Drop Kconfig knob DRM_KMS_HELPER
  - Expand documentation

Changes since v1:
- Drop patch: drm/panel: Add helper for simple panel connector
- Add fb-helper and fb-cma-helper doc patches
- Add drm/atomic: Don't skip drm_bridge_*() calls if !drm_encoder_helper_funcs
- Add drm_atomic_helper_best_encoder()
- drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
  - Expand docs
- drm: Add helper for simple display pipeline
  - 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()

Noralf Trønnes (2):
  drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
  drm: Add helper for simple display pipeline

 Documentation/DocBook/gpu.tmpl          |   6 +
 drivers/gpu/drm/Makefile                |   2 +-
 drivers/gpu/drm/drm_fb_cma_helper.c     |  31 ++++-
 drivers/gpu/drm/drm_simple_kms_helper.c | 209 ++++++++++++++++++++++++++++++++
 include/drm/drm_fb_cma_helper.h         |   3 +
 include/drm/drm_simple_kms_helper.h     |  95 +++++++++++++++
 6 files changed, 339 insertions(+), 7 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_simple_kms_helper.c
 create mode 100644 include/drm/drm_simple_kms_helper.h

--
2.8.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-05-12 15:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 12:53 [PATCH v3 0/2] drm: Add various helpers for simple drivers Noralf Trønnes
2016-05-12 12:53 ` Noralf Trønnes
2016-05-12 12:53 ` [PATCH v3 1/2] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs() Noralf Trønnes
2016-05-12 12:53   ` Noralf Trønnes
2016-05-12 13:47   ` Laurent Pinchart
2016-05-12 13:47     ` Laurent Pinchart
2016-05-12 14:44     ` Noralf Trønnes
2016-05-12 14:44       ` Noralf Trønnes
2016-05-12 12:53 ` [PATCH v3 2/2] drm: Add helper for simple display pipeline Noralf Trønnes
2016-05-12 12:53   ` Noralf Trønnes
2016-05-12 15:32   ` Daniel Vetter
2016-05-12 15:32     ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.