[PATCH 00/10] drm/panel: Remove unnecessary enabled/prepared state

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

 



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.


Sean Paul (10):
  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                        |  2 +
 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                            | 38 ++++++++++++--
 10 files changed, 65 insertions(+), 196 deletions(-)

-- 
2.14.1.821.g8fa685d3b7-goog

_______________________________________________
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