Message ID | 20190526173535.32701-7-sam@ravnborg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> 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 9F27291E for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C25428A7A for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80CD328A95; Sun, 26 May 2019 17:36:07 +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 3EC4F28A7A for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4E6189817; Sun, 26 May 2019 17:35:54 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id AEA9089708; Sun, 26 May 2019 17:35:51 +0000 (UTC) Received: by mail-lj1-x22f.google.com with SMTP id m15so12667623ljg.13; Sun, 26 May 2019 10:35: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=quXBsXarHy8sh7eI4VnnOVkloyrYcJZ6jVyc4yKf6z0=; b=K6w9Kk5y+iyoDkM16u1VGIK87PRRFFdFf6YaKLv/LeTgKsQRmgYwzse2JaxQ+ciuzW r7eUiRkLWEXymJyn4xP+HWtcOXZ8RM/fHvazgbgOIi5BJl/ia94sxy2CDxDMGrk8d/wp nzYtoiydzZAJsYGzRpW5CSkGZIfU4IJJaikJp4fOMSivTGT2CtjCg3tBek4bncYeIEbV qvGTQrJxq2GgmO2KHut3BbLXz4UHywxlGk0xiV0RAgOh3LHhDG6N9lbUi0WZ8soJwHiQ /bW2l33nGLb7ZKwH5SSU/AMdyoF8Df6CfdFCmGieJZlOi+Y5WLw472s4uLn6egqu3Qwl NoiQ== X-Gm-Message-State: APjAAAWBtkQ0k47hUZDi+J2w66NXtGN7qYF2NTguBthyK6kVHyHGlkZA AuIkGTEl9JiDEygb4FxNBFqozg71 X-Google-Smtp-Source: APXvYqwb4jejuA5EnOsMj/KAIYKHJqDiPWF5/nhwEWIsYOYT9HBVHYluWn8kMQMrCi6lhb5g74TSoQ== X-Received: by 2002:a2e:5d9c:: with SMTP id v28mr15083401lje.32.1558892149702; Sun, 26 May 2019 10:35:49 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:49 -0700 (PDT) From: Sam Ravnborg <sam@ravnborg.org> To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:34 +0200 Message-Id: <20190526173535.32701-7-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=quXBsXarHy8sh7eI4VnnOVkloyrYcJZ6jVyc4yKf6z0=; b=EmfsGuEctQSTvWWZhvIanPUqt8kBFKZqV6aWHVdoJ25zxgLPGBu2YrZOmBUVdXFljC aFTcSslGKSwim/oSpThxzx3MWtUaZHTuQuATjk9l3F1AaX07LnltAexjD7NL0mrdDVa1 NBbjHWQ73mB7wX3hPoR3489HmnnRK/4mlxuY1OHiQZHnpnSv5Aw9VNKWyyEaL8kdcTUS 8pmSgqa5RlD/z3Mglxqr79cFRk5LD3EZw+XXs+6uo+UunluXhqJGiVD2wn593D0aXtM7 W5VqLSLg3kRwN2lT/RDIUcy+X/9VQgJmDmR3w04q8YWQN9DiAE0zhpZVOmwE61YEmn+t YcGQ== Subject: [Intel-gfx] [PATCH v2 6/7] drm: make drm_trace.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 <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Maxime Ripard <maxime.ripard@bootlin.com>, Sam Ravnborg <sam@ravnborg.org>, intel-gfx@lists.freedesktop.org, David Airlie <airlied@linux.ie> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm: make headers self-contained and drop drmP.h
|
expand
|
diff --git a/drivers/gpu/drm/drm_trace.h b/drivers/gpu/drm/drm_trace.h index baccc63db106..471eb927474b 100644 --- a/drivers/gpu/drm/drm_trace.h +++ b/drivers/gpu/drm/drm_trace.h @@ -6,6 +6,8 @@ #include <linux/types.h> #include <linux/tracepoint.h> +struct drm_file; + #undef TRACE_SYSTEM #define TRACE_SYSTEM drm #define TRACE_INCLUDE_FILE drm_trace
Do not require users of drm_trace.h to include other files just to let it build Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> --- drivers/gpu/drm/drm_trace.h | 2 ++ 1 file changed, 2 insertions(+)