From: "Noralf Trønnes" <noralf@tronnes.org>
To: dri-devel@lists.freedesktop.org
Cc: daniel@ffwll.ch, linux-kernel@vger.kernel.org,
"Noralf Trønnes" <noralf@tronnes.org>
Subject: [PATCH v2 0/6] drm: Add various helpers for simple drivers
Date: Wed, 11 May 2016 18:09:16 +0200 [thread overview]
Message-ID: <1462982962-10530-1-git-send-email-noralf@tronnes.org> (raw)
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_atomic_helper_best_encoder()
(struct drm_connector_helper_funcs *)->best_encoder callback helper.
- drm_simple_display_pipe_init()
Plane, crtc and encoder are collapsed into one entity.
Plus it has gained a couple of documentation patches since v1.
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 (6):
drm/fb-helper: Remove mention of CONFIG_FB_DEFERRED_IO in docs
drm/fb-cma-helper: Hook up to DocBook and fix some docs
drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
drm/atomic: Don't skip drm_bridge_*() calls if
!drm_encoder_helper_funcs
drm/atomic: Add drm_atomic_helper_best_encoder()
drm: Add helper for simple display pipeline
Documentation/DocBook/gpu.tmpl | 11 ++
drivers/gpu/drm/Kconfig | 7 ++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/drm_atomic_helper.c | 56 +++++----
drivers/gpu/drm/drm_fb_cma_helper.c | 39 +++++--
drivers/gpu/drm/drm_fb_helper.c | 16 +--
drivers/gpu/drm/drm_simple_kms_helper.c | 200 ++++++++++++++++++++++++++++++++
include/drm/drm_atomic_helper.h | 2 +
include/drm/drm_fb_cma_helper.h | 3 +
include/drm/drm_simple_kms_helper.h | 92 +++++++++++++++
10 files changed, 386 insertions(+), 41 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
next reply other threads:[~2016-05-11 16:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 16:09 Noralf Trønnes [this message]
2016-05-11 16:09 ` [PATCH v2 1/6] drm/fb-helper: Remove mention of CONFIG_FB_DEFERRED_IO in docs Noralf Trønnes
2016-05-11 16:09 ` [PATCH v2 2/6] drm/fb-cma-helper: Hook up to DocBook and fix some docs Noralf Trønnes
2016-05-11 16:48 ` Daniel Vetter
2016-05-11 16:09 ` [PATCH v2 3/6] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs() Noralf Trønnes
2016-05-11 16:09 ` [PATCH v2 4/6] drm/atomic: Don't skip drm_bridge_*() calls if !drm_encoder_helper_funcs Noralf Trønnes
2016-05-11 16:55 ` Daniel Vetter
2016-05-11 16:09 ` [PATCH v2 5/6] drm/atomic: Add drm_atomic_helper_best_encoder() Noralf Trønnes
2016-05-11 16:55 ` Daniel Vetter
2016-05-11 16:09 ` [PATCH v2 6/6] drm: Add helper for simple display pipeline Noralf Trønnes
2016-05-11 17:09 ` Daniel Vetter
2016-05-11 19:10 ` Paul Bolle
2016-05-11 19:30 ` Noralf Trønnes
2016-05-11 19:27 ` Noralf Trønnes
2016-05-12 8:11 ` Daniel Vetter
2016-05-12 10:18 ` Noralf Trønnes
2016-05-12 10:44 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462982962-10530-1-git-send-email-noralf@tronnes.org \
--to=noralf@tronnes.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®