Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757183AbcCRKCI (ORCPT ); Fri, 18 Mar 2016 06:02:08 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:58921 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757155AbcCRKCE (ORCPT ); Fri, 18 Mar 2016 06:02:04 -0400 From: Alexey Brodkin To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Alexey Brodkin , Daniel Vetter , David Airlie , Boris Brezillon , Laurent Pinchart , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/3] drm: introduce drm_connector_plug_all() helper Date: Fri, 18 Mar 2016 13:01:41 +0300 Message-Id: <1458295304-5528-1-git-send-email-abrodkin@synopsys.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 33 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 Cc: David Airlie Cc: Boris Brezillon Cc: Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org -- 2.5.0