lkml.org 
[lkml]   [2016]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] drm: Add various helpers for simple drivers
Date
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

\
 
 \ /
  Last update: 2016-05-05 15:41    [W:0.127 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site