From patchwork Tue Jul 16 06:42:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11045313 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 CC56A13BD for ; Tue, 16 Jul 2019 06:44:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC782284ED for ; Tue, 16 Jul 2019 06:44:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0AA92857E; Tue, 16 Jul 2019 06:44:59 +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 680F8284ED for ; Tue, 16 Jul 2019 06:44:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 789A46E0AB; Tue, 16 Jul 2019 06:44:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7DC8F89133 for ; Tue, 16 Jul 2019 06:44:53 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id r9so18753520ljg.5 for ; Mon, 15 Jul 2019 23:44:53 -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=+/36LAk7R2VAebPvKDqciE1K6qFXd52Km5YEX41pLTo=; b=SZkasBiNZq3Ol+cFleURe1mVWyDLc8/wXzew5Iix1yb5JsZfImkJp3YaTxL6D5wM2W zZ8sSGaR+j7ffMBtZwKmF3c+qrgAV1kCd2fnCkyhAHDDq1Zs3/qNWZCAjLmkGingwjTp dIXc6J1MLBjOWapZRT5oRMTXC1i9TUOHBTUBqdlHjdvR6iBIDgDpSnVCI/VdsuPF0p/k YQPJwjzQPy1d62HcXLJIs42C0F32pMhE2WOGcuW/prxFveX1ZlCGw+3lF/2jn2K23HpM y6tUhj/So/EqysBXn2ACFEP9QRMkDx8F0eIHBE0peiCPIVAEyjOBEzrnGmlePPX/pYjD GNRw== X-Gm-Message-State: APjAAAUW8T1K4X4A6F+Xvl4T/Ew90BNZbMwU7E3Myc3D7sgQbvUuQWlu +r0KR9yDy7v5iMLk9tyfxBA2sEtF44Q= X-Google-Smtp-Source: APXvYqzn/oIF1mTYVsprFxxYYMt8JU5NFAZZsJ8ar0ZPDjF1+sbMvkWSHZA7e1FCF+zpIktByZu+gw== X-Received: by 2002:a2e:9758:: with SMTP id f24mr16602074ljj.58.1563259491768; Mon, 15 Jul 2019 23:44:51 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id 27sm3529993ljw.97.2019.07.15.23.44.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 23:44:51 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 07/19] drm/r128: drop use of drmP.h Date: Tue, 16 Jul 2019 08:42:08 +0200 Message-Id: <20190716064220.18157-8-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190716064220.18157-1-sam@ravnborg.org> References: <20190716064220.18157-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=+/36LAk7R2VAebPvKDqciE1K6qFXd52Km5YEX41pLTo=; b=M7ANGIIWAvzqLeSClUBsLb6XrnRpyBk4sClff0IK9HqPAceg5SOEgObNVmDKX51WSR F/mb04c9WAEscgGCeXTh5ic0KUZnch8AcE3pHNXUrNXyc52OjQoqoFhqhj7KfihvJZz0 jrqyILqQ4WYuWfOrLViFSJJq49W67ivHO+IQeUGbXmkTPAl8dul7nXKkYTLe/aq0xu6k jVI8WyKxO4ccF/J+Ip/+ewQR9HxRE7OiSYKGkbS67V2PajolNsLcTUzgqzrJOHpvD7en evuoeBt0AbN7uZlafLEkfwmb9IbrF0jefspt60ALxL4Bp/sn7LbR/hTbB2GHGWiZdI0M FhFA== 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 , Emil Velikov Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Replace use of the deprecated drmP.h header file with relevant includes. Signed-off-by: Sam Ravnborg Acked-by: Emil Velikov Cc: David Airlie Cc: Daniel Vetter Reviewed-by: Alex Deucher --- drivers/gpu/drm/r128/r128_ioc32.c | 3 ++- drivers/gpu/drm/r128/r128_irq.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/r128/r128_ioc32.c b/drivers/gpu/drm/r128/r128_ioc32.c index 6589f9e0310e..6ac71755c22d 100644 --- a/drivers/gpu/drm/r128/r128_ioc32.c +++ b/drivers/gpu/drm/r128/r128_ioc32.c @@ -29,10 +29,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ + #include -#include #include + #include "r128_drv.h" typedef struct drm_r128_init32 { diff --git a/drivers/gpu/drm/r128/r128_irq.c b/drivers/gpu/drm/r128/r128_irq.c index 9730f4918944..d84e9c96e20a 100644 --- a/drivers/gpu/drm/r128/r128_irq.c +++ b/drivers/gpu/drm/r128/r128_irq.c @@ -30,8 +30,11 @@ * Eric Anholt */ -#include +#include +#include +#include #include + #include "r128_drv.h" u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe)