From patchwork Sat Jan 26 12:25:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10782431 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91ACE13B4 for ; Sat, 26 Jan 2019 12:25:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80E362E304 for ; Sat, 26 Jan 2019 12:25:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 744102E30F; Sat, 26 Jan 2019 12:25:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AE2C2E304 for ; Sat, 26 Jan 2019 12:25:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729695AbfAZMZ6 (ORCPT ); Sat, 26 Jan 2019 07:25:58 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36632 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729694AbfAZMZ5 (ORCPT ); Sat, 26 Jan 2019 07:25:57 -0500 Received: by mail-lj1-f194.google.com with SMTP id g11-v6so10551156ljk.3; Sat, 26 Jan 2019 04:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=iHGpzzDxSY24Z16cE/9INPchFaLmbUq/b31/6GBzQF8=; b=kvNhZmIKxhn5DhEkhi4IJ0EClP4jKtuxAxkD8Q6QOC9tENceM+3tF/Yq59gT/MwQSm RVp+i4KBh2AOxyJ/KTpFhU7sljZvIaOrS+12hMV3f/DEErWfvnZfPOgn5rgx58NW/52Q 4GLxcXl46i9UHRKS+/6HSSJ7RSILmRtBQ2eVELAY/mwQnEuM1u58fO7y2NXlALcqIBlH 6FiiZRQ2peT59FkboLJEQpug70SFAWExHM9r8IlcPPxwZ9j+2+jcJO9vJ6f/ELHWbwGO 0JU9OoAiGrAjAWCSzWigoF9909L/3sJHkHkW9hF+PE8Mhp1yMoksJK77XdaSU8W7gWpM SZIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=iHGpzzDxSY24Z16cE/9INPchFaLmbUq/b31/6GBzQF8=; b=Y49f1jzZ83hj5xpZrQTI2s8iCc7BncLuOSF/gkgytDorO1BHSFFo/0EUTgPp1/xg5b C23vqjbCOrIaYmHa58I14fDUq1XE6xlPMGmmmtKKqUAHCCkMaYlZQgqrXFhfq+9UOA1V 0/xGkEOhdmNuirkAUaXJsc5sMjdAPfWzxoGhOgM3+gRBNj+COibXMXefcN1v/nYvBJPo sYAfVC07AWasS5HqjLx+KNUM8yu/i56T10cFbxDKF0ad4Y78j2E+j6fxssxYqUjSFnPW zG5CifY6pLGWYcmTaz6eTzgdttZjAbCgJmVOaKcuyO5iVZi5P4zh4VBhL0V3Z42oH44m ZLnA== X-Gm-Message-State: AJcUukf7K6iYJ46FspdUqv/ZGNVGUiQV0L6/iCzKoFFKoVFBp2ZufXbu UwSESaU/i3QMAPVZiPT8+2Q= X-Google-Smtp-Source: ALg8bN53vK7VZK4Lti14nTln8OCjVFipOAdFvOWpzQ8jDJkr15Ole5zHsVxVdl5hSxYxUZLY+sDV9g== X-Received: by 2002:a2e:5d12:: with SMTP id r18-v6mr11601191ljb.89.1548505555189; Sat, 26 Jan 2019 04:25:55 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id j138sm2070288lfg.64.2019.01.26.04.25.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jan 2019 04:25:54 -0800 (PST) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Cc: Greg Kroah-Hartman , Daniel Vetter , David Airlie , Hans de Goede , Jani Nikula , Joonas Lahtinen , Kieran Bingham , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Rodrigo Vivi , Sean Paul , intel-gfx@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg Subject: [PATCH v6 5/5] drm: remove drmP.h from drm_modeset_helper.h Date: Sat, 26 Jan 2019 13:25:27 +0100 Message-Id: <20190126122527.11647-6-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190126122527.11647-1-sam@ravnborg.org> References: <20190126122527.11647-1-sam@ravnborg.org> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With the removal of drmP.h from drm_modeset_helper.h the drmP.h are no longer included by any include files in include/drm. The drmP.h file is thus only included explicit either in .c files or in local .h files. This makes the process of deleting the drmP.h includes easier as we have a more local dependency chain. v2: - moved updates of .c files in drm/ to a dedicated patch. This allows the updates to the *.c files to be committed without the removal part. So this patch can wait if it causes build failures due to pending changes Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_modeset_helper.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_modeset_helper.h b/include/drm/drm_modeset_helper.h index efa337f03129..995fd981cab0 100644 --- a/include/drm/drm_modeset_helper.h +++ b/include/drm/drm_modeset_helper.h @@ -23,7 +23,11 @@ #ifndef __DRM_KMS_HELPER_H__ #define __DRM_KMS_HELPER_H__ -#include +struct drm_crtc; +struct drm_crtc_funcs; +struct drm_device; +struct drm_framebuffer; +struct drm_mode_fb_cmd2; void drm_helper_move_panel_connectors_to_head(struct drm_device *);