From patchwork Sun May 26 17:35:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961849 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 BD1B36C5 for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA50728A7A for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F1DC28A95; Sun, 26 May 2019 17:36: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=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 63C3C28A7A for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F40A89815; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@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 3555D893A4; Sun, 26 May 2019 17:35:49 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id m15so9814800lfh.4; Sun, 26 May 2019 10:35:49 -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=e7AnEl+sTa5CZ3787NmnwKOXoYZg2C++bC2zllDWaWE=; b=hYWiQB+JKiHWhnW9/q06tjtnXasNEucfCZTONPceDSdzMw7khADGDLjuECg2oVhqkx RGUcjgopHy9jwzjseccUNByD3ySdjuXIcW50HOV5KYLOfGH7lgHRQ26CZr/Mmb0DsDU8 c0Dx3p2XTYwwnTs/N2ktj0YHAdjglPSpy9F84f2bUAO1ofvy3JOA+kHeODOKJTe4Acmu 1rI+Y5skpbu4Yn6cl1dgEYUkLJ6zyCcstUeidPFFG5CJ3qDTYhqd20EbULq6gn3NCZgk /AgpENi7g5lpAykzWvMY+13eTxArZbeks6A11GDM9PevdYY8rToOEz7E95bb4pPTZpzx 0s2A== X-Gm-Message-State: APjAAAUAzpTRdsUahIDIEKJtKSUmyNBgJsT5P+uCn8RMc3dioc/uf78T dWTdZJmdd0ylw0XGsYgyrZv6oQap X-Google-Smtp-Source: APXvYqwRaO9mwsg0aL874OOUMrvTC3ELaefs5+lR1CdnyksoQ5yV6+YLPpttNY0VABPy75N4juH6jA== X-Received: by 2002:ac2:5606:: with SMTP id v6mr19145555lfd.129.1558892147342; Sun, 26 May 2019 10:35:47 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:46 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:32 +0200 Message-Id: <20190526173535.32701-5-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=e7AnEl+sTa5CZ3787NmnwKOXoYZg2C++bC2zllDWaWE=; b=cUZJ1mDES5jaAgspt5pTquhLlZbBiCqloFIbyK6dElinotcVpV08lTeT7BZetd+paD cZSLT8iz2ExC1IVvWVvARggqxZc/UHFSVnZl1RpyFvXz0Hg0yQODkHhdHWfbtUhfolEU YfopjnCYnhM+/bnpOBl8rs3cl9a0p36NvcFGB3+l9N1z00IMtFKvt6v9nJ2TkuSCgRFd +pCRBR1gbrduLJy3Wpyumz9Jx0LbWcNzfYmqqtapuw3gbjvHAwlmkUsu8gC02lLz7BP5 VeRW5tFT0TJD3U9ekQr5q/LnkyOP0poWXOyk57HhUj6hNr0bd5On+7/WgtjqaKih/bZp zIiA== Subject: [Intel-gfx] [PATCH v2 4/7] drm: make drm_internal.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 drm_internal.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 --- drivers/gpu/drm/drm_internal.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index e6281d9f9c87..76bd4b81c5b1 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -28,8 +28,16 @@ #define DRM_IF_VERSION(maj, min) (maj << 16 | min) -struct drm_prime_file_private; +struct dentry; struct dma_buf; +struct drm_connector; +struct drm_crtc; +struct drm_framebuffer; +struct drm_gem_object; +struct drm_master; +struct drm_minor; +struct drm_prime_file_private; +struct drm_printer; /* drm_file.c */ extern struct mutex drm_global_mutex;