From patchwork Sun Jun 30 06:19:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024207 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 3B5AD746 for ; Sun, 30 Jun 2019 06:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BB87287CD for ; Sun, 30 Jun 2019 06:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DA0B28786; Sun, 30 Jun 2019 06:19:55 +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 739E028786 for ; Sun, 30 Jun 2019 06:19:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F7C56E9CA; Sun, 30 Jun 2019 06:19:50 +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 EA4886E9C9 for ; Sun, 30 Jun 2019 06:19:48 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id r9so9804067ljg.5 for ; Sat, 29 Jun 2019 23:19:48 -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=mAGzFRABjveHi/J8wHEzE/oT1FORoeK+Xf8voKBHlrY=; b=NLVtvgp88ZuSYzDYoKHuAt1cc/0hZK1Si6pg4a+DG+oFD9tn4cvaSsN2Awx6fhN0zM LavAubeue/rbjRin3SWZ+GGtNiZBvZwr7XzHhwyXzx3D3F0j0oAkSfYxQ4Y647A/YMZq +4BIMh2czLnk/i2RNUevmWHS6DLjnI/gULfcVs8bbp1OSBdqbqxX3ew06vbFvUIgVzKW nwpF+5lhnDSKtbqWZ0HzIRvzCSZqla0Wxy4L9ihKplmAT8nIRsMBHgiZMkpixepjd8/9 ne+FGrlMhH8TLqqktcuGhHBp8bYQxgD4WF06mV8NmHK5Ojv/k3ZYHc7YDf8Gbv2ogWui hNCA== X-Gm-Message-State: APjAAAXmcCd+JpCg8Utd+fuHhatZmby/D1dUwA19t2SmRvihpCRLsW+F 0fI5z0KMbwTkrDxOy5gYAzPiFI6403pgiA== X-Google-Smtp-Source: APXvYqwLyMb8m8U71qAu7BJUDEcTSN+Ol7dBUyuNBfBIV8MP6wsDoRWPJkPLOZkQXOsthxLZA3jvqg== X-Received: by 2002:a2e:98f:: with SMTP id 137mr10058512ljj.232.1561875585459; Sat, 29 Jun 2019 23:19:45 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id o74sm1794024lff.46.2019.06.29.23.19.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 23:19:45 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 17/33] drm/omapdrm: drop use of drmP.h Date: Sun, 30 Jun 2019 08:19:06 +0200 Message-Id: <20190630061922.7254-18-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190630061922.7254-1-sam@ravnborg.org> References: <20190630061922.7254-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=mAGzFRABjveHi/J8wHEzE/oT1FORoeK+Xf8voKBHlrY=; b=lMMqTx3UO8G8Nb0TRYPIQKTqXGoDUH3z69ly3x/UezbU3A/B+gwySRJXtW5WDAYcAX bJEAEJ/4QI9Egxwn6b/1FXb+fVEQGvToeBc+Q+VDd9OHKCeZpcWSYQIcJRKRZeOagQGY g2dFJlGK172MvlxLOP1HOHZRhsVxZtg/2e6R0ueY4CM8xfIHpTZB4y/HvqiuyhfN9v5F tXmkevWG7JeuEKTQq8yG2iUhoj2gdoyiX8etw9unC5ONI4BySEkm82Hga6UeB+fyiPuV 5YBiThRRgYiBTEejOzs9zvqS08PZy74wy5kZcECpAEECd0FK+pXPAlKYrtTezkgCkOI0 NLOw== 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 , Tomi Valkeinen , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated header drmP.h. Rearranged list of include files to match rest of DRM too. The drmP.h file was deleted from the header file, and the necessary includes was added to the .c files to fix build. Signed-off-by: Sam Ravnborg Cc: Tomi Valkeinen Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/archives/dri-devel/2019-June/thread.html Search for "drm: drop use of drmp.h in drm-misc" Sam drivers/gpu/drm/omapdrm/omap_crtc.c | 4 +++- drivers/gpu/drm/omapdrm/omap_debugfs.c | 2 ++ drivers/gpu/drm/omapdrm/omap_drv.c | 10 ++++++++-- drivers/gpu/drm/omapdrm/omap_drv.h | 5 ++--- drivers/gpu/drm/omapdrm/omap_fb.c | 4 ++-- drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 ++ drivers/gpu/drm/omapdrm/omap_gem.c | 2 ++ drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 3 +++ drivers/gpu/drm/omapdrm/omap_irq.c | 2 ++ 9 files changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index d61215494617..a8f09829fcab 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -15,12 +15,14 @@ * this program. If not, see . */ +#include + #include #include #include #include #include -#include +#include #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_debugfs.c b/drivers/gpu/drm/omapdrm/omap_debugfs.c index 91cf043f2b6b..f2a68ef02b4e 100644 --- a/drivers/gpu/drm/omapdrm/omap_debugfs.c +++ b/drivers/gpu/drm/omapdrm/omap_debugfs.c @@ -18,6 +18,8 @@ #include #include +#include +#include #include #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 7bd2da5eb1ce..05002b157745 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -15,15 +15,21 @@ * this program. If not, see . */ -#include +#include +#include #include #include #include #include +#include #include -#include +#include +#include #include +#include +#include +#include #include "omap_dmm_tiler.h" #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_drv.h b/drivers/gpu/drm/omapdrm/omap_drv.h index 896aa12f09b2..70654d9a0155 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.h +++ b/drivers/gpu/drm/omapdrm/omap_drv.h @@ -22,12 +22,11 @@ #include #include -#include +#include "dss/omapdss.h" + #include #include -#include "dss/omapdss.h" - #include "omap_connector.h" #include "omap_crtc.h" #include "omap_encoder.h" diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c index 06d5c5081e41..199ae8bf2769 100644 --- a/drivers/gpu/drm/omapdrm/omap_fb.c +++ b/drivers/gpu/drm/omapdrm/omap_fb.c @@ -15,10 +15,10 @@ * this program. If not, see . */ -#include +#include -#include #include +#include #include #include "omap_dmm_tiler.h" diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index 0dad42e819ba..fbb3fe2dff97 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c index 8dcaf9f4aa75..efe187df68f6 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem.c +++ b/drivers/gpu/drm/omapdrm/omap_gem.c @@ -15,11 +15,13 @@ * this program. If not, see . */ +#include #include #include #include #include +#include #include #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c index 7e7ad275e3cf..d9ab8052dd25 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c +++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c @@ -16,6 +16,9 @@ */ #include +#include + +#include #include "omap_drv.h" diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index 01dda84ca2ee..1f8588503db9 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c @@ -15,6 +15,8 @@ * this program. If not, see . */ +#include + #include "omap_drv.h" struct omap_irq_wait {