From patchwork Sat Jun 22 14:40:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11011301 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 D9C4B13AF for ; Sat, 22 Jun 2019 14:41:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC3D628A9D for ; Sat, 22 Jun 2019 14:41:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACAB828B97; Sat, 22 Jun 2019 14:41:06 +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 600F128A9D for ; Sat, 22 Jun 2019 14:41:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 766326E059; Sat, 22 Jun 2019 14:41:05 +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 A71EE6E059 for ; Sat, 22 Jun 2019 14:41:04 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id a21so8529368ljh.7 for ; Sat, 22 Jun 2019 07:41:04 -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=Q+aPNQuGqEdadqA4h5w5zS078TPuzEgRusBOyRh2EAs=; b=hcFcfLSzgsjbMYVtukY4BXXt1kjgCTLL/Tf+SOlCHtjDCd4JCQNNVof54x5r5GHM2g uvQlofoUJKaJrdIXMv9yWSodG9El7Esr8TXZFobJIYybq2yuS+dG2NTeL+vSuyWdQSJe X56Wzgu5RlZcEoqE4gDUHZTSttcV5n/84QaFcYFQPraSYji7o+qLuZvYk93hSYGPn1uw WB0H4PpRms04xE67u6+cWfwqmJ7D9hCcWbECCmnjNhYxPWYUqaujep8kFCdPMKxfS0w4 +fGW+TxGGw5QUQJTttTeJpSOcu+MLzRcshUu4o3NZkVhsgZD68d1x2wlAUxFMtLGif1Q yTHQ== X-Gm-Message-State: APjAAAVNyL0pd96tY02Zn8tpT9FGbWUjbRSiPwSkg9QHSYwXNJImL6+m uNqdxlahOB3tUkSISBrwHWlLrQNHdsKfmw== X-Google-Smtp-Source: APXvYqwjeYFVZE/cGv4RhfMwcgHSRa4UHlCJUjktEUj5Pc5sVV8nuSfWTDsi9CO6pqvMsJcn7XcFWw== X-Received: by 2002:a2e:7614:: with SMTP id r20mr48543292ljc.42.1561214463061; Sat, 22 Jun 2019 07:41:03 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id u22sm969610ljd.18.2019.06.22.07.41.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 22 Jun 2019 07:41:02 -0700 (PDT) From: Sam Ravnborg To: VMware Graphics , Thomas Hellstrom Subject: [PATCH v1 0/2] drm/vmwgfx: drop use of drmP.h Date: Sat, 22 Jun 2019 16:40:50 +0200 Message-Id: <20190622144052.29428-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=Q+aPNQuGqEdadqA4h5w5zS078TPuzEgRusBOyRh2EAs=; b=Uv6Tua5ykgJPU5OJ81s9Q+EXs9t2LuOZkkp+bJuUBOtag/8ltx9JymJpi8+ohg3dZ0 bMl1DX7houh8UhJUdAZxzHsZ9mr8jNWzxI2XkyXhy+ph0Pf2SPbZiTENGCUu4LqrTQFO py3fZaM/zZ547tAJ28mtuZmJlVp/vl7Iary9ezuqgmVEdgFBiR2407jYluLQaOdsTFXV 37WVpsaV3g/SvIpHZmfPeCsdL1YevzkzxgPql0ACpGsv5vBBrwn7SCj+mjvI6QDtUvQ0 E3CyX5ebYs7cFFeumv6vMu0WmDMgzZ1/HougClveP9G2Npyreincs/Y+4B87M4JShNZy Bquw== 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 , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP In two steps drop the use of drmP.h First patch remove drmP.h from header files and fixes fallout. Second patch remove drmP.h from the remaining files. While touching the list of include files divide them in blocks and sort include files within the blocks. Patches made on top of drm-misc-next, and checked that they apply to vmwgfx-fixes-5.2 in git://people.freedesktop.org/~thomash/linux Build tested with various configs with several architectures. Sam Sam Ravnborg (2): drm/vmwgfx: drop use of drmP.h in header files drm/vmwgfx: drop reminaing users of drmP.h drivers/gpu/drm/vmwgfx/ttm_lock.h | 2 +- drivers/gpu/drm/vmwgfx/ttm_object.h | 7 ++++--- drivers/gpu/drm/vmwgfx/vmwgfx_binding.h | 3 ++- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 3 +++ drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 17 +++++++++++------ drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 30 +++++++++++++++++++++--------- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 8 ++++---- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 3 ++- drivers/gpu/drm/vmwgfx/vmwgfx_fence.h | 5 ++++- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 6 ++++-- drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c | 4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 3 ++- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 10 +++++++--- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 6 ++++-- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 11 +++++------ drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 6 ++---- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 5 ++--- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 6 ++++-- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 9 ++++++--- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 3 ++- 23 files changed, 93 insertions(+), 58 deletions(-)