All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/12] drm/panel: Remove unnecessary enabled/prepared state
@ 2017-10-17 21:13 Sean Paul
  2017-10-17 21:13 ` [PATCH v3 01/12] drm/panel: Fix typo in drm_panel_unprepare docs Sean Paul
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Sean Paul @ 2017-10-17 21:13 UTC (permalink / raw)
  To: dri-devel; +Cc: thierry.reding

A number of panel drivers track enabled/prepared state (I suspect to protect
regulator refcounts). However, the atomic framework already ensures that
prepare/unprepare and enable/disable calls are balanced. This series removes all
independent tracking from the drivers and adds a WARNING to the core in case
someone uses a panel with a legacy driver.

Changes in v2:
        - Addressed review comments in first patch
	- Since the initial set didn't get much action, this is a partial RESEND

Changes in v3:
	- Fixed typo in docs
	- Moved static inlines out of header
	- Used helper function to make the state transition
	- All panel driver patches are the same as v1

Sean Paul (12):
  drm/panel: Fix typo in drm_panel_unprepare docs
  drm/panel: Move [un]prepare and [dis|en]able functions
  drm/panel: Keep track of enabled/prepared
  drm/panel: vvx10f034n00: Remove enabled/prepared state
  drm/panel: lt070me05000: Remove enabled/prepared state
  drm/panel: lq101r1sx01: Remove enabled/prepared state
  drm/panel: otm8009a: Remove enabled state
  drm/panel: otm8009a: Properly sequence [un]prepare with backlight
  drm/panel: 43wvf1g: Remove enabled/prepared state
  drm/panel: simple: Remove enabled/prepared state
  drm/panel: p079zca: Remove enabled/prepared state
  drm/panel: ls043t1le01: Remove enabled/prepared state

 drivers/gpu/drm/drm_panel.c                        | 116 +++++++++++++++++++++
 drivers/gpu/drm/panel/panel-innolux-p079zca.c      |  23 ----
 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c     |  23 ----
 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c   |  59 ++++++-----
 .../gpu/drm/panel/panel-panasonic-vvx10f034n00.c   |  22 ----
 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c        |  24 -----
 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c    |  23 ----
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c    |  23 ----
 drivers/gpu/drm/panel/panel-simple.c               |  24 -----
 include/drm/drm_panel.h                            |  93 ++++-------------
 10 files changed, 165 insertions(+), 265 deletions(-)

-- 
2.15.0.rc1.287.g2b38de12cc-goog

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

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

end of thread, other threads:[~2017-10-18  8:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-17 21:13 [PATCH v3 00/12] drm/panel: Remove unnecessary enabled/prepared state Sean Paul
2017-10-17 21:13 ` [PATCH v3 01/12] drm/panel: Fix typo in drm_panel_unprepare docs Sean Paul
2017-10-17 21:13 ` [PATCH v3 02/12] drm/panel: Move [un]prepare and [dis|en]able functions Sean Paul
2017-10-18  8:16   ` Daniel Vetter
2017-10-17 21:13 ` [PATCH v3 03/12] drm/panel: Keep track of enabled/prepared Sean Paul
2017-10-18  7:54   ` Andrzej Hajda
2017-10-17 21:13 ` [PATCH v3 04/12] drm/panel: vvx10f034n00: Remove enabled/prepared state Sean Paul
2017-10-17 21:13 ` [PATCH v3 05/12] drm/panel: lt070me05000: " Sean Paul
2017-10-17 21:13 ` [PATCH v3 06/12] drm/panel: lq101r1sx01: " Sean Paul
2017-10-17 21:13 ` [PATCH v3 07/12] drm/panel: otm8009a: Remove enabled state Sean Paul
2017-10-17 21:13 ` [PATCH v3 08/12] drm/panel: otm8009a: Properly sequence [un]prepare with backlight Sean Paul
2017-10-17 21:13 ` [PATCH v3 09/12] drm/panel: 43wvf1g: Remove enabled/prepared state Sean Paul
2017-10-17 21:13 ` [PATCH v3 10/12] drm/panel: simple: " Sean Paul
2017-10-17 21:13 ` [PATCH v3 11/12] drm/panel: p079zca: " Sean Paul
2017-10-17 21:13 ` [PATCH v3 12/12] drm/panel: ls043t1le01: " Sean Paul

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.