All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] drm/panel: Pull some code out into common helpers
@ 2017-03-16 22:08 Sean Paul
  2017-03-16 22:08 ` [RFC PATCH 1/3] drm/panel: Pull common panel code out into helpers Sean Paul
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Sean Paul @ 2017-03-16 22:08 UTC (permalink / raw)
  To: dri-devel

This series pulls out the power-sequencing code from panel-simple into a
panel-common helper library. This allows drivers that cannot leverage
panel-simple to share some code.

I've converted the 2 sharp mipi drivers, and Chris Zhong's driver on the
list can also be converted. I haven't checked any other drivers, but I
suspect we'll see the same code blocks there too.

I'm sure there's more we can pull out of the various drivers, but this
seems like a good place to start talking about how to share common panel
code across drivers.

Sean

Sean Paul (3):
  drm/panel: Pull common panel code out into helpers
  drm/panel: sharp-lq101r1sx01: Use panel-common helpers
  drm/panel: panel-sharp-ls043t1le01: Use panel-common helpers

 drivers/gpu/drm/panel/Kconfig                   |  22 +++-
 drivers/gpu/drm/panel/Makefile                  |   1 +
 drivers/gpu/drm/panel/panel-common.c            | 149 ++++++++++++++++++++++++
 drivers/gpu/drm/panel/panel-common.h            |  44 +++++++
 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c |  79 ++++---------
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c |  70 +++--------
 drivers/gpu/drm/panel/panel-simple.c            | 112 +++---------------
 7 files changed, 269 insertions(+), 208 deletions(-)
 create mode 100644 drivers/gpu/drm/panel/panel-common.c
 create mode 100644 drivers/gpu/drm/panel/panel-common.h

-- 
2.12.0.367.g23dc2f6d3c-goog

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

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

end of thread, other threads:[~2017-03-25 14:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-16 22:08 [RFC PATCH 0/3] drm/panel: Pull some code out into common helpers Sean Paul
2017-03-16 22:08 ` [RFC PATCH 1/3] drm/panel: Pull common panel code out into helpers Sean Paul
2017-03-25 14:23   ` Emil Velikov
2017-03-16 22:08 ` [RFC PATCH 2/3] drm/panel: sharp-lq101r1sx01: Use panel-common helpers Sean Paul
2017-03-21 21:06   ` Eric Anholt
2017-03-22 14:16     ` Sean Paul
2017-03-16 22:08 ` [RFC PATCH 3/3] drm/panel: panel-sharp-ls043t1le01: " Sean Paul
2017-03-25 14:39   ` Emil Velikov
2017-03-17 14:17 ` [RFC PATCH 0/3] drm/panel: Pull some code out into common helpers Sean Paul
2017-03-25 12:05   ` Noralf Trønnes
2017-03-21 21:08 ` Eric Anholt
2017-03-22 14:36 ` Emil Velikov
2017-03-22 15:06   ` Sean Paul
2017-03-25 14:19     ` Emil Velikov

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.