From patchwork Sun Jun 30 06:19:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024231 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 2ED20746 for ; Sun, 30 Jun 2019 06:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F87828786 for ; Sun, 30 Jun 2019 06:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13AB3287CD; Sun, 30 Jun 2019 06:20:24 +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 A80AC28786 for ; Sun, 30 Jun 2019 06:20:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B09986E9DE; Sun, 30 Jun 2019 06:19:58 +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 1A43E6E9C9 for ; Sun, 30 Jun 2019 06:19:51 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id z15so6556625lfh.13 for ; Sat, 29 Jun 2019 23:19:51 -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=Fnr6k4Eow9LnwFZdkpCPXbx+QoVhat8bwujFvP5lr+A=; b=W5gXageWqTs7hHUZgw7mNnhB1zeSgO0uCcQordJS5lIM6oC+3ejn/Drdz6vqvz3GcH APptCXEGIp+QirZvXKOoZVdK+nsEV9Al9a46L6k2ZjUqGSgwHsCy85UvYSfVA4FSzO7g VJOVvlScywxwQu7LCPQVEFMrDX0Xkcwjo+yghaCCLX3DhlVZUhOD8q1wwKpLG861ncF5 WSOSqPR4RBkdlAcMQW7Rl6KoXoy4OCraj7r6qY7wqfB8rxLXdGYi4w8cArcln1XSG5Bn FOoO94bwrvTun9D8mjToX2M0qYafZdqRVjOyiTsavv5SBZR82AxFV5+FzWN5v/FRy0d3 NIAw== X-Gm-Message-State: APjAAAXIEWxgCsQAofWE3iLwO/JmzQmN5wZGhC5OmsYgTq4+/+A/u1TP Biygb5/x7eb6rM3gdnTkbzHxIXdybcRKIg== X-Google-Smtp-Source: APXvYqx7UWVTuIBgZsOLVPbGiZ6deTCoUg/rzfuOAxaSb/gJXW3o/NUU5seZOX4jf9I85qX0lmOn5g== X-Received: by 2002:a19:5007:: with SMTP id e7mr9317662lfb.76.1561875589352; Sat, 29 Jun 2019 23:19:49 -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.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 23:19:49 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 21/33] drm/i810: drop use of drmP.h Date: Sun, 30 Jun 2019 08:19:10 +0200 Message-Id: <20190630061922.7254-22-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=Fnr6k4Eow9LnwFZdkpCPXbx+QoVhat8bwujFvP5lr+A=; b=VPX7STZoz7qaN0kulYdsURROenFDq8tpD/dxNUyN19khzw/OihSMXFagCYetf928Ip w+y51iXNkQXYOwJMCEnzARglp3MFUZxQKHoLMK4y+r7QGI6WPGCzRyuriE7XYrR9afOv VUakML2Y0QwQDqKIxSHYwS3P/q6iEkgWIFAkfgjd2p9WjgPHuS8h9B1wSvL0JydoaudV k6pnx62kdYHPjOSrAQaKz9hcgnBjQ/TgyJZveVZQPus3ge2A8q18ks7hIHNiFdSUnjXs A3i8xsC6o49QqUYC/ENg/HUcQDLj08w2iwm7t3E36xP7yorq6NsHTlBUge6cjIs2R0GD MgDg== 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 , Sam Ravnborg , Dan Carpenter Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated drmP.h header. Replace with necessary includes. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Dan Carpenter Cc: Sam Ravnborg --- 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/i810/i810_dma.c | 17 ++++++++++++----- drivers/gpu/drm/i810/i810_drv.c | 8 +++++--- drivers/gpu/drm/i810/i810_drv.h | 2 ++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c index 3b378936f575..2a77823b8e9a 100644 --- a/drivers/gpu/drm/i810/i810_dma.c +++ b/drivers/gpu/drm/i810/i810_dma.c @@ -30,13 +30,20 @@ * */ -#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include #include + #include "i810_drv.h" -#include /* For task queue support */ -#include -#include -#include #define I810_BUF_FREE 2 #define I810_BUF_CLIENT 1 diff --git a/drivers/gpu/drm/i810/i810_drv.c b/drivers/gpu/drm/i810/i810_drv.c index c69d5c487f51..5dd26a06ee0e 100644 --- a/drivers/gpu/drm/i810/i810_drv.c +++ b/drivers/gpu/drm/i810/i810_drv.c @@ -30,13 +30,15 @@ * Gareth Hughes */ +#include "i810_drv.h" #include -#include +#include +#include +#include +#include #include -#include "i810_drv.h" -#include static struct pci_device_id pciidlist[] = { i810_PCI_IDS diff --git a/drivers/gpu/drm/i810/i810_drv.h b/drivers/gpu/drm/i810/i810_drv.h index c73d2f2da57b..9df3981ffc66 100644 --- a/drivers/gpu/drm/i810/i810_drv.h +++ b/drivers/gpu/drm/i810/i810_drv.h @@ -32,7 +32,9 @@ #ifndef _I810_DRV_H_ #define _I810_DRV_H_ +#include #include +#include /* General customization: */