From patchwork Sun Jun 30 05:21:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024169 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 AB4A514E5 for ; Sun, 30 Jun 2019 05:21:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BC552832D for ; Sun, 30 Jun 2019 05:21:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 901F8287E0; Sun, 30 Jun 2019 05:21:50 +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 4043D2832D for ; Sun, 30 Jun 2019 05:21:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 764A26E9C3; Sun, 30 Jun 2019 05:21:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8C7786E9C2 for ; Sun, 30 Jun 2019 05:21:35 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id y198so6555523lfa.1 for ; Sat, 29 Jun 2019 22:21:35 -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 :mime-version:content-transfer-encoding; bh=2dbS6mi+Ob+2ydRNhnL8JdZWxYQ2+vL1lr6xX6j63Wk=; b=l2blmnScL3SLKIBntTtsuYk8lio38XYOQJJMcHbYTakpxdXmHWEJ3EGvWHMgckD93R dke4n/idImivlcYn2Eqm+52G/oJOFYuAXBg2Et3hkpYy4UTQd6uE7fi0sPpkVzlCJAlu M4HpD4lub5nc0WAtvQPalZBge4PEu6gRde0Rlj3N0Se2oaZCZU9OYmnHmd4gYGLOStSl wfu1T7YRVNmmSkZ9PgKBfhSOQwmAHjNnufKMC91N89HoMVn2M1UyAaQ7YHph/5dbnown Gu+co8I/vTXQQGI1NK00UxIujJoTnc/BW0Am3FZNMw4IMOWlXRvM5ABDNyO1I7s72eNB TagQ== X-Gm-Message-State: APjAAAXs0GOJ8yQF4ClF4+qjGDywIxhmOtC7gvGq3Nv2T7sTxsoTVLvx QrD3SZTN3apJL70Avq/4rOvYwYnL0xo= X-Google-Smtp-Source: APXvYqwN0BRirxNgqpwz06BT8FFL10OMrlp0rk0Um+897JqOD9VrWE1LUIIbJJipNsItTJvup5mv8g== X-Received: by 2002:ac2:5467:: with SMTP id e7mr8653123lfn.23.1561872093633; Sat, 29 Jun 2019 22:21:33 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id a18sm2264664ljf.35.2019.06.29.22.21.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 22:21:33 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1] drm/arm: drop use of drmP.h Date: Sun, 30 Jun 2019 07:21:31 +0200 Message-Id: <20190630052131.6134-1-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 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:mime-version :content-transfer-encoding; bh=2dbS6mi+Ob+2ydRNhnL8JdZWxYQ2+vL1lr6xX6j63Wk=; b=AsUQdft5VEvYVx29Wc4A8GfSL6ZB6PWq8mLpu7Mz1JJMmxY6gu9/l4ecVuZ67u1SEM l3Bq6212jJB8rCYoI7reqsXIT0DRrk0E4S3iHCP9JOC0nf48rlHhjRKcGjoiQ3tw3tI3 OGmfZEqwfKLSViSPD3Sbm8+6UTd9jXWep5JSYHZ5XciY9CVJkHODx2r9T9cTVokWnhRe TYXnaD7j9mMarp5VFG6v3NgLnVFGslcPQXe+qtrHuJh+btuaIyuA5euxcBDv7WtpOTy9 Cq0aWCNbK56BP9VI/3yq784yTz6dk6IEwD08+RDXNZXDJtD6XChEOjPlov5OkkIRVOKs rw9A== 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 , Liviu Dudau , malidp@foss.arm.com, 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 header file. While touching the list of include files divide them into blocks and sort within each block. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Liviu Dudau Cc: Brian Starkey Cc: David Airlie Cc: Daniel Vetter Cc: malidp@foss.arm.com Acked-by: Liviu Dudau --- The patch is build tested using several configs and several architectures (including arm, arm64, x86). The patch is based on drm-misc. If patch is OK, please apply to your tree as this driver is maintained outside drm-misc. I am happy to rebase on another tree, just let me know. Sam drivers/gpu/drm/arm/hdlcd_crtc.c | 12 +++++++----- drivers/gpu/drm/arm/hdlcd_drv.c | 7 ++++++- drivers/gpu/drm/arm/malidp_crtc.c | 11 +++++++---- drivers/gpu/drm/arm/malidp_drv.c | 8 +++++--- drivers/gpu/drm/arm/malidp_drv.h | 7 ++++--- drivers/gpu/drm/arm/malidp_hw.c | 7 ++++++- drivers/gpu/drm/arm/malidp_mw.c | 5 +++-- drivers/gpu/drm/arm/malidp_planes.c | 4 +++- 8 files changed, 41 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c index a3efa28436ea..af67fefed38d 100644 --- a/drivers/gpu/drm/arm/hdlcd_crtc.c +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c @@ -9,7 +9,12 @@ * Implementation of a CRTC class for the HDLCD driver. */ -#include +#include +#include +#include + +#include