From patchwork Sat Jan 19 08:40:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10771949 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 BC0C0139A for ; Sat, 19 Jan 2019 08:40:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADAF72E4D0 for ; Sat, 19 Jan 2019 08:40:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1ECF2F7F2; Sat, 19 Jan 2019 08:40:45 +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=ham 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 23A182F7DA for ; Sat, 19 Jan 2019 08:40:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D55E56E2C2; Sat, 19 Jan 2019 08:40:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6AA8A6E02B for ; Sat, 19 Jan 2019 08:40:41 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id i26so12210012lfc.0 for ; Sat, 19 Jan 2019 00:40:41 -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=82s1yv64NCHQfWv7cYkKneBGqUIi0pb0Kmg7915Ruho=; b=d6zsMBUCWkmG4hjCwPAs9XYvFCV6WGDfcT9c0nEuVRMxxCwfsGBhQJy2h70sEX0to7 8AzjGNdgP7JM7z7DRMvHkm+8fngplb7W0yByu8Jh8pixdTy6MzBDht84a6yKhV3ALFcd XMcamKOZY53IwZumlCvImUB4ViUl/2Z134Xe/UJocqncDqa2DbbVNBI/AqRcYzv/YM+L fKuG9kVxFUFjzxHfAJKPCM1DuBMxA8z/8M7r39fHlTImV32PRt0YoxicK58BvlO4ojr8 KPZLiQ4E2Jm7++cn2fptObtXerYNX6BvmI/0oYglYHfYntdZiRQvEarGeSaSBHcWqyJ+ Pk6g== X-Gm-Message-State: AJcUukePn9oJCZCc8wl8QxsbXw+qSa+xKixkpjuMNynsWshKUgNCH9Vz jv0Fmt2A7dODIZyTumlnUluQCXOlW8s= X-Google-Smtp-Source: ALg8bN6g9oURBfG1KdJSW381tnQ2O+mHnOAH5e6PszPsndivwimkc2Ft1Fc14jCmyQY+46XfOriHwg== X-Received: by 2002:a19:1019:: with SMTP id f25mr14108906lfi.54.1547887239582; Sat, 19 Jan 2019 00:40:39 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id p23sm1187109lfh.47.2019.01.19.00.40.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Jan 2019 00:40:39 -0800 (PST) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v5 1/6] drm/stm: prepare for drmP.h removal from drm_modeset_helper.h Date: Sat, 19 Jan 2019 09:40:09 +0100 Message-Id: <20190119084014.5355-2-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190119084014.5355-1-sam@ravnborg.org> References: <20190119084014.5355-1-sam@ravnborg.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul , Xinliang Liu , Maxime Ripard , David Airlie , Chen Feng , Alexey Brodkin , Philippe Cornu , linux-kernel@vger.kernel.org, Vincent Abriou , Xinwei Kong , Kieran Bingham , Laurent Pinchart , Rongrong Zou , Sam Ravnborg , Yannick Fertre MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused drm/stm 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 arm and x86 allmodconfig v2: - sort list of include files Signed-off-by: Sam Ravnborg Acked-by: Benjamin Gaignard Cc: Yannick Fertre Cc: Philippe Cornu Cc: Vincent Abriou Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/stm/drv.c | 6 +++++- drivers/gpu/drm/stm/ltdc.c | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c index 8dec001b9d37..d83db27a9aa9 100644 --- a/drivers/gpu/drm/stm/drv.c +++ b/drivers/gpu/drm/stm/drv.c @@ -9,15 +9,19 @@ */ #include +#include +#include #include #include #include #include -#include +#include #include +#include #include #include +#include #include "ltdc.h" diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 61dd661aa0ac..10c8446fd421 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -10,18 +10,25 @@ #include #include +#include +#include +#include #include #include +#include #include #include #include +#include #include +#include #include +#include #include #include -#include #include +#include #include