From patchwork Sun May 19 14:20: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: 10949461 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 CA7F21398 for ; Sun, 19 May 2019 14:20:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA8A2285B0 for ; Sun, 19 May 2019 14:20:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEDFE285B8; Sun, 19 May 2019 14:20: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 67AB6285B0 for ; Sun, 19 May 2019 14:20:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E080689132; Sun, 19 May 2019 14:20:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0127B89132 for ; Sun, 19 May 2019 14:20:51 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id l26so8388782lfh.13 for ; Sun, 19 May 2019 07:20:51 -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=Ad7Fwl6LjARc2prGK5xxcJbytviWSkpw/Dg0XX8mBEc=; b=Wf7zcykleTcnpv9WZzixoLBSTLASaCfS8Nm6C7Xwgs4mvMM78wkhC3tbD8TPWzmH8N mI64Vf23cxt1WOWwzJClsetpdbROpdUy87JZTgFVz4824VrgLweyqHLSWQuooLHP0QrX AmuiuIokmEyNwnJ6I4BiQc9WP2YMZs5gK0Wor2bpK9geVH1tUhajEmk9cvh/qd9f1fXU jVz3ArluxTcSynQ4DpbH1pem24I5NCGV2/8EC7Osz0jpPC4QYviTifCJ8CUsVWL4UZhG LYvR5Fy8CmRtUR8oWIgDXGeYUkqUakzjJLmShOqJdkAkUKc/BXhOKeuejwkAk+eGVtJQ lUOA== X-Gm-Message-State: APjAAAX2ckIobNPiT/bAjNiSjDa09MgBJ5e9Cr6lJSEDtMDVM26hKrY9 ocxZ1dkArBXC7zHEx47CEYnT8vFd X-Google-Smtp-Source: APXvYqzC2y/EIEF5vYDnf2VZINTN9mrZl8LBRKkoI5RbcX1WIOWAgKsYAqMcN73l6QgsjpaaRQmtLw== X-Received: by 2002:ac2:55a9:: with SMTP id y9mr5104814lfg.58.1558275650247; Sun, 19 May 2019 07:20:50 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id d5sm3231786lji.85.2019.05.19.07.20.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 May 2019 07:20:49 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 01/06] drm: make drm_auth.h self contained Date: Sun, 19 May 2019 16:20:31 +0200 Message-Id: <20190519142036.22861-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190519142036.22861-1-sam@ravnborg.org> References: <20190519142036.22861-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=Ad7Fwl6LjARc2prGK5xxcJbytviWSkpw/Dg0XX8mBEc=; b=GQ3cfHHqw0Q1Zm9r4OLaJSaykYuEkY5vH4jkISJRfXGkENU0RNBQ9oHbEBSmhOpLPz ZdcRX6n7FjB/PlpBnyF7jSglTQBwkmKj+dbMEdPmDkkQHZIoJqPJHmq9CZY/E+9vLx72 aV1ByTKKz7B1YAU4/Olhvxp2Ofu/HbTFf/31CikOf/Gpahlr5EToIKJmJMly9TPi/2GY GxMsTXXjtNX1yR8IHZVIbAnRSgBJDNOxQ7HS7KSOXUGn/amkHsa6t2VNvaRW1ei/3NWv YQG+8gXbUZ5iI4yB2Oy6/xfLUjjfFnp/o0+UInT75Fo2i4wKDxPc3GaIRkNVUNbyu+Hk 2Xjg== 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: Maxime Ripard , Sam Ravnborg , David Airlie , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of drm_auth.h to include other files just to let it build. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_auth.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 871008118bab..f34b7b842976 100644 --- a/include/drm/drm_auth.h +++ b/include/drm/drm_auth.h @@ -28,6 +28,13 @@ #ifndef _DRM_AUTH_H_ #define _DRM_AUTH_H_ +#include +#include +#include + +struct drm_file; +struct drm_hw_lock; + /* * Legacy DRI1 locking data structure. Only here instead of in drm_legacy.h for * include ordering reasons.