[PATCH 0/4] drm: Add various helpers for simple drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Essentially it adds 3 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.
- drm_panel_connector_create()
  Create a simple connector for a panel.

Noralf Trønnes (4):
  drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
  drm: Make drm_encoder_helper_funcs optional
  drm: Add helper for simple display pipeline
  drm/panel: Add helper for simple panel connector

 drivers/gpu/drm/Kconfig                 |   7 ++
 drivers/gpu/drm/Makefile                |   2 +
 drivers/gpu/drm/drm_atomic_helper.c     |  11 ++-
 drivers/gpu/drm/drm_crtc_helper.c       |  41 +++++++--
 drivers/gpu/drm/drm_fb_cma_helper.c     |  29 ++++--
 drivers/gpu/drm/drm_panel_helper.c      | 117 ++++++++++++++++++++++++
 drivers/gpu/drm/drm_simple_kms_helper.c | 157 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/panel/Kconfig           |   7 ++
 include/drm/drm_fb_cma_helper.h         |   3 +
 include/drm/drm_panel_helper.h          |  20 ++++
 include/drm/drm_simple_kms_helper.h     |  88 ++++++++++++++++++
 11 files changed, 466 insertions(+), 16 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_panel_helper.c
 create mode 100644 drivers/gpu/drm/drm_simple_kms_helper.c
 create mode 100644 include/drm/drm_panel_helper.h
 create mode 100644 include/drm/drm_simple_kms_helper.h

--
2.2.2

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux