From patchwork Sat Jun 22 11:56:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11011283 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 E860C924 for ; Sat, 22 Jun 2019 11:56:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6AC028B30 for ; Sat, 22 Jun 2019 11:56:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA06B28B5D; Sat, 22 Jun 2019 11:56:48 +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 4393728B30 for ; Sat, 22 Jun 2019 11:56:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D61126E970; Sat, 22 Jun 2019 11:56:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 44ABC6E96B for ; Sat, 22 Jun 2019 11:56:41 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id 16so8276318ljv.10 for ; Sat, 22 Jun 2019 04:56:41 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=GvEyQ1tmfVom2otvhaDDgZsTItkTVgBPigM4byfuGXw=; b=CYG3E6G6+lXEy5u9kKK/L0eCEaoKRdqdlnUrgsN1BlStSBuuU48z9tZhW/LGZ1pAI7 1VV3vyhkhtXIAN/83dTIX8gOovDVYvyPcMraq+lnyR4QfhYBEh53MDV1ITBSE+xwNajt TzDigzaXr5Pop6lbfW/Q14N3WX/sXYWaC5uER7uNWMcAU5cIdI2g/+VScEy2p9GELdKi 6Eqy3aHi+KnSjCTVvcrBk5A9lSkvxIHeyqmSS0/2xfy9m7C45sesm3Y3zO6l61Mwtfe0 FZVcyKD84PWU5DgnqHr0+f4m3CdOc2SMLVoE2uaEC03qzpQuv2ZSqCFr74uGLXwyen44 lY+A== X-Gm-Message-State: APjAAAUG+5yqwmVBabc+eyxcfi6kZJsAzuvZCtTBCSc7vXXusWRicRS4 hy1HDfIXJnQtnefSP2+vQKI1u5UG9diGmw== X-Google-Smtp-Source: APXvYqyTPTpmNmMJRxv+lfO+7ecymqPUM4RhWw4ZYsl7zNGNFHFKJ+cSuIEnZ8IW+Wxh/YpeaQdlAg== X-Received: by 2002:a2e:9003:: with SMTP id h3mr41206667ljg.194.1561204599285; Sat, 22 Jun 2019 04:56:39 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id d10sm810759ljc.15.2019.06.22.04.56.38 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 22 Jun 2019 04:56:38 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Inki Dae Subject: [PATCH v4 1/2] drm/exynos: drop drmP.h usage Date: Sat, 22 Jun 2019 13:56:22 +0200 Message-Id: <20190622115623.16314-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190622115623.16314-1-sam@ravnborg.org> References: <20190622115623.16314-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-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 :mime-version:content-transfer-encoding; bh=GvEyQ1tmfVom2otvhaDDgZsTItkTVgBPigM4byfuGXw=; b=oeSV6a9OCi+Pkt1YTrrQSwDDxOjCkcs8RvO4bKwr+wWGhAg1qYdlnVKv7VMs1aYdnE LD8AYGG8fanrzO77Jd8m5bnyYxCWdU9ZWYM9VUDrCORCXtKWAWHZKwTOSUlV1ox5aJhU 2hI4PNR7ML01owEG9OzDfRHiH+baLO/BNA+wdroqUPdZCpwtY8wiH4/NyNRdzj6Mcurb Vb4nYhOzKMxQ0hUTW8J5jlKwyOJSOP+gQGjX6qfWk3zS8trGWIf5gf7qCWcVk56bcFtk MPzFV1dCJ/6XQOOUc+89Bdrcq2iTjbIrio1tLJ2TtEvpODikgkqvprnADtP35H4dTxWO Iu6Q== 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: David Airlie , Jingoo Han , Seung-Woo Kim , Krzysztof Kozlowski , Kyungmin Park , Kukjin Kim , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated drmP.h file. Replace with forwards / externals as appropriate. While touching the list of include files divide them up in blocks and sort them. v3: - fix build errors in exynos_drm_g2d.c (Inki Dae) The exynos_drm_g2d.c file is not built in the standard configurations and was therefore missed. Signed-off-by: Sam Ravnborg Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Jingoo Han --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 7 +++- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 8 ++-- drivers/gpu/drm/exynos/exynos_dp.c | 13 +++--- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_dma.c | 6 ++- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 8 ++-- drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 +++--- drivers/gpu/drm/exynos/exynos_drm_drv.h | 8 +++- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 21 +++++----- drivers/gpu/drm/exynos/exynos_drm_fb.c | 6 +-- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 7 ++-- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 15 +++---- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 14 ++++--- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 11 +++-- drivers/gpu/drm/exynos/exynos_drm_gem.c | 7 ++-- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 13 +++--- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 3 +- drivers/gpu/drm/exynos/exynos_drm_mic.c | 22 +++++----- drivers/gpu/drm/exynos/exynos_drm_plane.c | 4 +- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 10 ++--- drivers/gpu/drm/exynos/exynos_drm_scaler.c | 12 +++--- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 9 ++-- drivers/gpu/drm/exynos/exynos_hdmi.c | 41 +++++++++---------- drivers/gpu/drm/exynos/exynos_mixer.c | 31 +++++++------- 24 files changed, 154 insertions(+), 136 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 0650b619de24..2d5cbfda3ca7 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -7,7 +7,6 @@ * Hyungwon Hwang */ -#include #include #include #include @@ -15,11 +14,15 @@ #include #include #include +#include #include #include -#include "exynos_drm_drv.h" +#include +#include + #include "exynos_drm_crtc.h" +#include "exynos_drm_drv.h" #include "exynos_drm_fb.h" #include "exynos_drm_plane.h" #include "regs-decon5433.h" diff --git a/drivers/gpu/drm/exynos/exynos7_drm_decon.c b/drivers/gpu/drm/exynos/exynos7_drm_decon.c index 13509ca8aa35..f0640950bd46 100644 --- a/drivers/gpu/drm/exynos/exynos7_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos7_drm_decon.c @@ -6,8 +6,6 @@ * Akshu Agarwal * Ajay Kumar */ -#include -#include #include #include @@ -21,10 +19,14 @@ #include