From patchwork Sun Jun 30 06:18:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024275 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 6BF0F112C for ; Sun, 30 Jun 2019 06:21:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59FA52878F for ; Sun, 30 Jun 2019 06:21:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49C342879E; Sun, 30 Jun 2019 06:21:54 +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.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A5AF2878F for ; Sun, 30 Jun 2019 06:21:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hhTBX-0003p8-63; Sun, 30 Jun 2019 06:19:35 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hhTBW-0003p3-3J for xen-devel@lists.xenproject.org; Sun, 30 Jun 2019 06:19:34 +0000 X-Inumbo-ID: 0578196e-9aff-11e9-8980-bc764e045a96 Received: from mail-lj1-x241.google.com (unknown [2a00:1450:4864:20::241]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 0578196e-9aff-11e9-8980-bc764e045a96; Sun, 30 Jun 2019 06:19:32 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id k18so9780667ljc.11 for ; Sat, 29 Jun 2019 23:19:31 -0700 (PDT) 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=/BAdALRWJnPO1PMvv8laEQNnZorNfIKMTnWPTB/f2bc=; b=huOULKNyZ6Mpo/Hx9Zjk5S9i4HOOnhw4HE0DGaokcKy7djA8BlfxUIFh9v+JcZgYzC RijtSVbP+H0yk9j6g5uD7oRC4R369bQfGpwDf5sN/jKdfOpZB7OAqHrWJlbWKez3CV4E Xk1dZKvCyEVXhbfZFj9BWbuVMJC4zgv7J2eyUN0D1PNRAXMRsWfFq/pS3fvHHvAK+/8o rirGQdlJofg5DazEz2JRXYTIf6UkGW1lGWemAtqX1U/27v9KToAlaL5ey8gHNwgkYdyZ WDRb/4Ith29HLsZeEavou0GmtAEdjLWSiCy4YE9hjIwUmDfO3JPIkAOug+8mFpgVBc5o UE+Q== 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=/BAdALRWJnPO1PMvv8laEQNnZorNfIKMTnWPTB/f2bc=; b=jel1lBe5PHY1DY4bcze87s7aETCF1Dfk/rdqHGglRsdiT+DgnVyYOKmaCdXFy9IMK/ z6zfr+up0ya9C5VEyGVLJGlCXRybIGdXMece8ztBR0iWojF6yxkv2V28naWsDVMugiMa pf3f4XXX3sa+gN4IzpkdB1+fGUmrj9SL+qGJsQCWy98/hgr2lS6Dx0xUC9fkrwuNR9kd 6VDhLtXCy4/xH4WQUbHmP5XAJIpuDPh0HSVqk8qzg8VuEj02joIOJTkBcRDIcP6Of4Bd +53YOy2PE/AzylkvK3A7/wQTVCJ4eiHfmwhJBXJXrbZoVg0vRBfgsQkmJPSycFVfOsic R6WA== X-Gm-Message-State: APjAAAWebDOA6xjHgC0ghjSbfcyy7tfcSQh4etXtvA5uZyRJJ2AQr57c pkXj3CjEArx7S5Y/Q1GzvuY= X-Google-Smtp-Source: APXvYqwjusaGNrnSryfHGSJrOQOhwdc0n0OtiIxy/PcaBwez8llATOEmxjvsL4RzQ/0q41VMSn0xoQ== X-Received: by 2002:a2e:870f:: with SMTP id m15mr10465532lji.223.1561875570484; Sat, 29 Jun 2019 23:19:30 -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.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 23:19:30 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 30 Jun 2019 08:18:51 +0200 Message-Id: <20190630061922.7254-3-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 Subject: [Xen-devel] [PATCH v1 02/33] drm/xen: drop use of drmP.h X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: xen-devel@lists.xenproject.org, Sam Ravnborg , Oleksandr Andrushchenko Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The drmP.h header is deprecated. Drop all uses. Added includes/forwards to the header files and then fixed fallout in the .c files. Signed-off-by: Sam Ravnborg Cc: Oleksandr Andrushchenko Cc: xen-devel@lists.xenproject.org Acked-by: Oleksandr Andrushchenko --- 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/xen/xen_drm_front.c | 11 ++++++++--- drivers/gpu/drm/xen/xen_drm_front.h | 12 +++++++++--- drivers/gpu/drm/xen/xen_drm_front_cfg.c | 4 ++-- drivers/gpu/drm/xen/xen_drm_front_conn.c | 1 + drivers/gpu/drm/xen/xen_drm_front_conn.h | 7 +++---- drivers/gpu/drm/xen/xen_drm_front_evtchnl.c | 4 ++-- drivers/gpu/drm/xen/xen_drm_front_gem.c | 11 +++++------ drivers/gpu/drm/xen/xen_drm_front_gem.h | 7 ++++++- drivers/gpu/drm/xen/xen_drm_front_kms.c | 7 ++++--- 9 files changed, 40 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c index 051822ee5b36..ba1828acd8c9 100644 --- a/drivers/gpu/drm/xen/xen_drm_front.c +++ b/drivers/gpu/drm/xen/xen_drm_front.c @@ -8,13 +8,18 @@ * Author: Oleksandr Andrushchenko */ -#include +#include +#include +#include +#include + #include +#include +#include #include +#include #include -#include - #include #include #include diff --git a/drivers/gpu/drm/xen/xen_drm_front.h b/drivers/gpu/drm/xen/xen_drm_front.h index 5693b4a4b02b..4486bd8b3be7 100644 --- a/drivers/gpu/drm/xen/xen_drm_front.h +++ b/drivers/gpu/drm/xen/xen_drm_front.h @@ -11,13 +11,19 @@ #ifndef __XEN_DRM_FRONT_H_ #define __XEN_DRM_FRONT_H_ -#include -#include - #include +#include +#include +#include + #include "xen_drm_front_cfg.h" +struct drm_device; +struct drm_framebuffer; +struct drm_gem_object; +struct drm_pending_vblank_event; + /** * DOC: Driver modes of operation in terms of display buffers used * diff --git a/drivers/gpu/drm/xen/xen_drm_front_cfg.c b/drivers/gpu/drm/xen/xen_drm_front_cfg.c index 5baf2b9de93c..ec53b9cc9e0e 100644 --- a/drivers/gpu/drm/xen/xen_drm_front_cfg.c +++ b/drivers/gpu/drm/xen/xen_drm_front_cfg.c @@ -8,10 +8,10 @@ * Author: Oleksandr Andrushchenko */ -#include - #include +#include + #include #include diff --git a/drivers/gpu/drm/xen/xen_drm_front_conn.c b/drivers/gpu/drm/xen/xen_drm_front_conn.c index 9f5f31f77f1e..459702fa990e 100644 --- a/drivers/gpu/drm/xen/xen_drm_front_conn.c +++ b/drivers/gpu/drm/xen/xen_drm_front_conn.c @@ -9,6 +9,7 @@ */ #include +#include #include #include