Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3260489imu; Fri, 18 Jan 2019 07:28:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN52gpwygynYRfJLufstmdtQyH3nsfo54w5XVj3KA/ZPuTKpfJ8EjMdinLC6buqNtk/H/fkj X-Received: by 2002:a62:47d9:: with SMTP id p86mr19338836pfi.95.1547825314716; Fri, 18 Jan 2019 07:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547825314; cv=none; d=google.com; s=arc-20160816; b=lGMm/EZbOTWOzKYwK3L9GLI7YNop+5bgP0uNMTx7yDg2do+WCftFbivs6OZjSwSXLf +U3vfkMk846+hoiiL6T1AMBOds7JMQuj2uxUtVXFNR4tcq+BWLJCb32QwbaCRPRFvTFx cFI2HdXQOpFtjiqAn1+SKizyGVEG8IlcU51dV2KIajX5ZQZYRXLM3xho+SBbmLTkgqmZ 7h17L8JivZbzjTXJ/n4wsl3Xj7tbxIPbuMy6LRKigd+uKdXwOMUpovMcTHPb0gzn3i0U VluyNR1A9/rIK4UlsdNg8BjGH+gkSXUfoNhWA9iyj++exSjH8UJstjKC+AjBkbtSUKiI JtyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P7+GvYJ0sfXZ90axwjSjg5ATO9SinJrIvej91j8VSGI=; b=XiIp0FXAdv9QP1wZfOpcZXieAbTHn25kZxEN6xbjkPVAvGxhdk7IxS1uGi6gGd74YV gSGTPc5P3xrO2tOkYDsixX6moplpyCV1pOfaa+FVEqnfSRt0A85o+E8C2wncyyQVTmWk t805Pwrj3AN2KatZSxLf8Ar//RMC9J/3c1YJop6hgT9Q0zTNk0dXwyoQWBcqG9P9pzIm bKSF+w0yl4e8407ZzkHB5+75lK+vxjSVabI9yb4hZHoU2Bed6zk5yhSagPEYo9/QW4TW YJm7W+ohuii70yuKjdtmjxBPeBp+Pzho2lX2G16PsINdglncdFS6xy8WG05v0S6STJ7b 0CGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Ty33CYAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si5001818pls.162.2019.01.18.07.28.15; Fri, 18 Jan 2019 07:28:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Ty33CYAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbfARPZI (ORCPT + 99 others); Fri, 18 Jan 2019 10:25:08 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:53210 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbfARPZG (ORCPT ); Fri, 18 Jan 2019 10:25:06 -0500 Received: from pendragon.ideasonboard.com (dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 73B8253E; Fri, 18 Jan 2019 16:25:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1547825103; bh=kOzd4fbb4z1ozKX6ceJSd/xA2R+IB7nm0cFfienrEZo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ty33CYABuFEXPz2gI+kE1q9V0M19wBQs2W0elnogAps34bFrCFT12mjTephP12K3i ZmfH/xnkjmn3u0aSkCTQ159TQ6SImNGb6BVy+9pkOm6D22m9hbAssyliwKtJupYM+b itDcChru9/hdKfU0qpbi8AHxZn7rB1lUZgdLj+KU= Date: Fri, 18 Jan 2019 17:25:04 +0200 From: Laurent Pinchart To: Sam Ravnborg Cc: Alex Deucher , Alexey Brodkin , Andrzej Hajda , Benjamin Gaignard , Chen Feng , Christian Konig , Daniel Vetter , David Airlie , David Zhou , Eric Anholt , Gerd Hoffmann , Kieran Bingham , Maarten Lankhorst , Maxime Ripard , Philippe Cornu , Rob Clark , Rongrong Zou , Sean Paul , Tomi Valkeinen , Vincent Abriou , Xinliang Liu , Xinwei Kong , Yannick Fertre , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v4 8/8] drm: remove drmP.h from drm_modeset_helper.h Message-ID: <20190118152504.GG5275@pendragon.ideasonboard.com> References: <20190112193251.20450-1-sam@ravnborg.org> <20190112193251.20450-9-sam@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190112193251.20450-9-sam@ravnborg.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, Thank you for the patch. On Sat, Jan 12, 2019 at 08:32:51PM +0100, Sam Ravnborg wrote: > 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. > > Include build failures fixes in drm files after the drmP.h removal. Great work! Reviewed-by: Laurent Pinchart > Signed-off-by: Sam Ravnborg > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Sean Paul > Cc: David Airlie > Cc: Daniel Vetter > --- > drivers/gpu/drm/drm_damage_helper.c | 1 + > drivers/gpu/drm/drm_modeset_helper.c | 2 ++ > include/drm/drm_modeset_helper.h | 6 +++++- > 3 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_damage_helper.c b/drivers/gpu/drm/drm_damage_helper.c > index 31032407254d..b575a768f51c 100644 > --- a/drivers/gpu/drm/drm_damage_helper.c > +++ b/drivers/gpu/drm/drm_damage_helper.c > @@ -32,6 +32,7 @@ > > #include > #include > +#include > > /** > * DOC: overview > diff --git a/drivers/gpu/drm/drm_modeset_helper.c b/drivers/gpu/drm/drm_modeset_helper.c > index 9150fa385bba..9bc1ef788c77 100644 > --- a/drivers/gpu/drm/drm_modeset_helper.c > +++ b/drivers/gpu/drm/drm_modeset_helper.c > @@ -23,8 +23,10 @@ > #include > #include > #include > +#include > #include > #include > +#include > > /** > * DOC: aux kms helpers > 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 *); > -- Regards, Laurent Pinchart