[PATCH 0/6] drm/tinydrm: Support device unplug

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

 



This adds device unplug support to drm_fb_helper, drm_fb_cma_helper
(fbdev) and tinydrm.

My motivation for doing this is to make tinydrm useable with USB
devices. This discussion gave insight into the problem:
[PATCH v5 2/6] drm/bridge: Add a devm_ allocator for panel bridge.
https://lists.freedesktop.org/archives/dri-devel/2017-August/149376.html

Noralf.

Noralf Trønnes (6):
  drm/fb-helper: Avoid NULL ptr dereference in fb_set_suspend()
  drm/fb-helper: Support device unplug
  drm/fb-cma-helper: Support device unplug
  drm/tinydrm: Embed drm_device in tinydrm_device
  drm/tinydrm/mi0283qt: Let the display pipe handle power
  drm/tinydrm: Support device unplug

 drivers/gpu/drm/drm_fb_cma_helper.c         | 139 +++++++++----------
 drivers/gpu/drm/drm_fb_helper.c             | 207 +++++++++++++++++++++++++++-
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 109 ++++++++++-----
 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c |   2 +-
 drivers/gpu/drm/tinydrm/mi0283qt.c          |  77 +++--------
 drivers/gpu/drm/tinydrm/mipi-dbi.c          |  27 ++--
 drivers/gpu/drm/tinydrm/repaper.c           |  19 ++-
 drivers/gpu/drm/tinydrm/st7586.c            |  25 ++--
 include/drm/drm_fb_cma_helper.h             |   1 +
 include/drm/drm_fb_helper.h                 |  35 +++++
 include/drm/tinydrm/tinydrm.h               |  14 +-
 11 files changed, 460 insertions(+), 195 deletions(-)

-- 
2.7.4

_______________________________________________
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