[PATCH 0/3] drm: introduce drm_connector_plug_all() helper
From: Alexey Brodkin
Date: Fri Mar 18 2016 - 06:02:11 EST
As a pair to already existing drm_connector_unplug_all() we're adding
generic implementation of what is already done in some drivers.
After implementation of that new helper we're updating 2 drivers
that used to use it's own implementation:
[1] atmel_hlcdc
[2] rcar_du
Other drivers still use load() callback and so should be first modified so
their load() gets called from their probe() explicitly.
Build- and run-tested on yet to be upstreamed ARC PGU (part of AXS10x board).
Alexey Brodkin (3):
drm: introduce drm_connector_plug_all() helper
drm: atmel_hldc - use generic drm_connector_plug_all() helper
drm: rcar-du - use generic drm_connector_plug_all() helper
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 39 ++----------------------
drivers/gpu/drm/drm_crtc.c | 44 +++++++++++++++++++++++++++-
drivers/gpu/drm/drm_drv.c | 3 +-
drivers/gpu/drm/rcar-du/rcar_du_drv.c | 9 +-----
include/drm/drm_crtc.h | 3 +-
5 files changed, 50 insertions(+), 48 deletions(-)
Cc: Daniel Vetter <daniel@xxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxx>
Cc: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Cc: linux-renesas-soc@xxxxxxxxxxxxxxx
--
2.5.0