From patchwork Sat Jun 22 12:11:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11011289 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 1D0BB1395 for ; Sat, 22 Jun 2019 12:12:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A0A028B8E for ; Sat, 22 Jun 2019 12:12:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F239F28B9C; Sat, 22 Jun 2019 12:12:09 +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=unavailable 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 C38E228B8E for ; Sat, 22 Jun 2019 12:12:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E30B389590; Sat, 22 Jun 2019 12:12:06 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34A3689590; Sat, 22 Jun 2019 12:12:05 +0000 (UTC) Received: by mail-lj1-x22b.google.com with SMTP id 131so8335351ljf.4; Sat, 22 Jun 2019 05:12:05 -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=a/TuWqneVz9sQ3lzjiEmzAMcNwIxCEDhv3/M4OHDBvQ=; b=hfwk0HTxIOqof5CL9HPUdJKwxVcKUToA+e377YmmSy0DrPrvv5h6C1VCQuVfJEENBW VdYk8CTJ/FE9PBO/tbdbqnUjz7jDBNS7aJN3M2AzrxrjAk+nm38Q6vK7DitYpWeXIwjm n5Ts+Qd5YAm0TzNyjiPiXThpqnirSSvrxjNmG4uhh9ra3PdgtqHi7XuJtC+2KKbnYYBc 6y6Xk8fU4T8x1tdVrAx7PYv/0vAIeqATQrJHq9eZQp4nBiHKAQzrWRFkqaKY2e87XSPS bbeI0+z3biyBKXk+a4cB9ersX/tOhXI9WtuZ+dwBWbQ1QS8zBI6egczD/TMhBMHLQiVk Z7Qg== X-Gm-Message-State: APjAAAWuW5sfPudhZlsaYiXwFKGcj9UjPwt8SuZeuh+CC4bzPT5aEoEY L10n+ZtW5AGUwSV6ZJ/JYten5FN80b4IyQ== X-Google-Smtp-Source: APXvYqxh23ZfIPf5yPhS6P2jzopsUlwV6Ds60eLrZqEcOPK4gbNQ7j0L2hUJ54WP2ngHVYVJKux0Xg== X-Received: by 2002:a2e:2c14:: with SMTP id s20mr6899492ljs.54.1561205523394; Sat, 22 Jun 2019 05:12: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 k4sm816910ljg.59.2019.06.22.05.12.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 22 Jun 2019 05:12:02 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sat, 22 Jun 2019 14:11:54 +0200 Message-Id: <20190622121156.17217-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=a/TuWqneVz9sQ3lzjiEmzAMcNwIxCEDhv3/M4OHDBvQ=; b=htTd/GxSUA1JSDdppR2sdw33Xs4aB9F0PRhTiXMAsHFdqoYYgY3ffn2XskqDgmFARU UiuykU3uogXAUrAsTYtPU8iU0cDCiPEy4FOkk7TCfaGxIBEkb4i9y6ZDsHiBScT3Eyn3 goM2Pzy/V4XErTqzV9xFP1XG4tw1XzIjXPsFn0o8D6v2IhOBHBfSd2Svf/7IZB/vD9uO yq+fMktjqDL28xB+6sutC7mOCi5+h7ojhbhj7oWJL27V+Pp5HShyT/3FmwI2CFhqkwGC i50Ls9zLSrMT8MzUfrxAok5EuJg6GyRL4fWgueXZ8O/9qZ83VQ9uM+Dl5w0Vh/u504aJ Pqxg== Subject: [Intel-gfx] [PATCH v1 0/2] drm: drop uapi dependencies from include/drm X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP include/drm/* shall have no or at least minimal dependencies to include/uapi/drm/*. Following two patches do a small effort to drop such dependencies. After these patches there are two users of uapi/drm/drm.h left in include/drm: drm_file.h: - needs drm_magic_t drm_magic_t is a simple typedef, a simple unsigned int would do the trick drm_legacy.h - needs drm_map_type and drm_map_flags. Seems legit. I did not spend time to analyze further dependencies. Patches are build tested. Sam Sam Ravnborg (2): drm: drop uapi dependency from drm_print.h drm: drop uapi dependency from drm_vblank.h include/drm/drm_print.h | 4 +--- include/drm/drm_vblank.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-)