From patchwork Sun May 26 17:35:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961833 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 2481B1390 for ; Sun, 26 May 2019 17:35:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10E2C28A7E for ; Sun, 26 May 2019 17:35:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04C6A28A92; Sun, 26 May 2019 17:35:53 +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 A4E7728A7E for ; Sun, 26 May 2019 17:35:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1170489395; Sun, 26 May 2019 17:35:48 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id B868F89247; Sun, 26 May 2019 17:35:45 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id 188so12675082ljf.9; Sun, 26 May 2019 10:35:45 -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=7jHEs5RhzbiMluVrA2O22womiRoVJprYdjFgPKPifMg=; b=KYYIRhgRfv32t/QoCJZBV2eDeTu5FCxKxP24QqSA+JKa/fclz7uXFGN8wWuDc0ytR/ nHoQal27H84tEeXetdpqZPmpBjapFLat9qh2Ng5SiBvuNweY8yw+edT8rwgPRgVM0Art su6OHbk8E/YpjHEZSE28Pk27hNU3oTNhvgULrVZJgAjkIqrRJGMS18hVrfqTI3SdGWs+ Vj+RYt9Zsu5hlEBBy8RVXfu16eA3ukO7KFCXx+WKUkT9kdfLyRrViBFaYFbn+4A5qty7 OlokbpyUa+vQJdJhizywr2VyoHlPxJzzoNmWZdqljDVj4Gz037kypX8tcO3QANrAWUn2 ny0g== X-Gm-Message-State: APjAAAVW+CmeU7KoR7TZyR+G0rHG3vJ69hU6Qn1+orGoh/zWhpluHyls oPpELyMb/GJr16OfIf1RQCdJ7+Qj X-Google-Smtp-Source: APXvYqxK2HZRfvk3QuO7PCHS7h9HhpbMnAV9h3V06196YGq34oajAydfCp1ECBuWuHLtA0f5I8QFWg== X-Received: by 2002:a2e:81d9:: with SMTP id s25mr19221196ljg.139.1558892143937; Sun, 26 May 2019 10:35:43 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:43 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:29 +0200 Message-Id: <20190526173535.32701-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-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=7jHEs5RhzbiMluVrA2O22womiRoVJprYdjFgPKPifMg=; b=bkjslSwzLnC5HXsx9tvX41i+X+xtYQm2ILyLJqL0Dd2aBkk1ENfU8I+dHb7zQjBCJI HuNhMEba1hXvAfLk5NHzbrGqCZaoqNMZqxhL3vIfqnK3pL+nBo8teXo7TeWuiAwZi0Qa N5XUiwv21YWRgF9/V/UtCkIfazyrdel2gh/7/zuk/1Yxv3pWc4MvaRex0OAxvjOm54xG HZfP1Gh4GavEKvmBJEUp0efiD6ARWa0+YSl59bItEoOpwol8G+Ri85sReXhseuERMVll 14B1gHN7sbchswm8njqKgjp/WSpX2jswunvUn5AU0q2x4QDgRBXTvyhBbTnIo/FXC9lE aKoA== Subject: [Intel-gfx] [PATCH v2 1/7] drm: make drm/drm_auth.h self contained 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 , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of include/drm/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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 871008118bab..6bf8b2b78991 100644 --- a/include/drm/drm_auth.h +++ b/include/drm/drm_auth.h @@ -1,3 +1,6 @@ +#ifndef _DRM_AUTH_H_ +#define _DRM_AUTH_H_ + /* * Internal Header for the Direct Rendering Manager * @@ -25,8 +28,12 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#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