From patchwork Sat Jan 26 12:25:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10782447 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 D9CF113B4 for ; Sat, 26 Jan 2019 12:26:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8EE12E304 for ; Sat, 26 Jan 2019 12:26:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD5622E307; Sat, 26 Jan 2019 12:26:09 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6CEA02E304 for ; Sat, 26 Jan 2019 12:26:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 062B66E6AB; Sat, 26 Jan 2019 12:26:07 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by gabe.freedesktop.org (Postfix) with ESMTPS id 556546E6A1; Sat, 26 Jan 2019 12:25:56 +0000 (UTC) Received: by mail-lf1-x141.google.com with SMTP id u18so8764129lff.10; Sat, 26 Jan 2019 04:25:56 -0800 (PST) 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=9twS2QoSt8OMiLUBo9Uw/6B13OKa/JTRtA6RHr+fMq0=; b=Pggn347JUz5rezeKdMhe+1d4mpuTpBeeALPZBdwttOHkUkOJK/V7PeVjYGeIo/82QM NrLIv+hUuSDJMUBsn1fuXB3TmXt1cqnmOxmaVn8EMQUYyONs7dJGuqy+pBt9eYMA88/B wXh4EWI6g51qM0Y6p0mUPWMLOisgyDFhfYax3xbt6nFcYXNUJ4N0P0oBcZJ6WDfgSpxT i2EzVOUsQzHjE7xtxbsKrrpwtTZyPy1ZuR6ay/EoOPvAbrXkCOm20NNQ9ooLBLfcGd55 Y2+1XYAx9D7nHPjMp0Omjz2+aYhd/M7nMLuYw+BxGBgdQixumJoe1JRszm3dPD+LWJ3m Wb5g== X-Gm-Message-State: AJcUukd+/p0nLzSZLW/EN/UJyWDDZZTqPXcFsXNBoSP/Rw6LCm6EvC8d EqFSKZRXfD1VDJmRQkB68uVX28QryS0= X-Google-Smtp-Source: ALg8bN41JPeqErlxqq72LNy4AT/nf5VWpQfe4/qZZbpOn53Qs0emFQMJP9tsat4oaZutMtvXGR/F7g== X-Received: by 2002:a19:5402:: with SMTP id i2mr11129889lfb.128.1548505553968; Sat, 26 Jan 2019 04:25:53 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jan 2019 04:25:53 -0800 (PST) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sat, 26 Jan 2019 13:25:26 +0100 Message-Id: <20190126122527.11647-5-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> Subject: [Intel-gfx] [PATCH v6 4/5] drm: prepare for drmP.h removal from drm_modeset_helper.h X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , David Airlie , Greg Kroah-Hartman , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , Laurent Pinchart MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused drm/ to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. Build tested on x86, arm, alpha, ia64 allmodconfig/allyesconfig. 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 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_damage_helper.c b/drivers/gpu/drm/drm_damage_helper.c index e16aa5ae00b4..ee67c96841fa 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 890eee07892d..da483125e063 100644 --- a/drivers/gpu/drm/drm_modeset_helper.c +++ b/drivers/gpu/drm/drm_modeset_helper.c @@ -22,8 +22,10 @@ #include #include +#include #include #include +#include #include /**