From patchwork Sun May 26 17:35: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: 10961847 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 D87A06C5 for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C62C428A7A for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB0BE28A95; Sun, 26 May 2019 17:36:05 +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 7E27028A7A for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A605C897F0; 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-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 008AC89394; Sun, 26 May 2019 17:35:47 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id 188so12675140ljf.9; Sun, 26 May 2019 10:35:47 -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=FijAi/rRt9F6TihHYqQ6sKUIYt5GMGzzPG27K5Xhg7o=; b=mtWO0/GurBHi10emlEQS0vmXVxQ/W4OyRO8E7S5vzVP32yom9SiWAZJkocZTcjAlNP OagBSqT0fCOolbQPwGODxHc/8i+1J24qbuWg7n5SSu73A8Hre/qNxqsxCYv3Xu1g/LO0 2VbsI5J3jYfRDS9f6W4VgXe5YwTrrs007/DjWvp4aBA7H/K5zhfgcGyidgcmPcrGp4TS ij3v0VrZk1ayu4En9dQtftFJ0Gf/VGo+92X0ZYRC4BivQTZ7WRzIvmXsNqPTPIWu+IYL 8z6IeB1RG2tD+cf+s4EBciKTb5dWW8/SlqI9vsQmhuJfp2wQ309fTjsKRZu020lxB0Z8 8qBw== X-Gm-Message-State: APjAAAUNfmZhYJ0LuOONByqclurhueK0Wxg+yitqY5w/DTuFfS+QA7qo 1GeO8RdTzl28V8vQWeLCjK84jT74 X-Google-Smtp-Source: APXvYqwdOLoFIjCLRpXn0vSc24rVGvqTEEmEbyb1ERbJRoKB3dHxqhm8jxscP/cnK8T2KhTAGdCoTA== X-Received: by 2002:a2e:9cc4:: with SMTP id g4mr49367278ljj.47.1558892146156; Sun, 26 May 2019 10:35:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:45 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:31 +0200 Message-Id: <20190526173535.32701-4-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=FijAi/rRt9F6TihHYqQ6sKUIYt5GMGzzPG27K5Xhg7o=; b=SNISuzws2bpcO0n1spcMRUeU6mpyG29KycFbDsgiyM4tRL5h15+5ThvkI8z9yxAN13 VrDS3RfxvRA6Txtlr6q45UWIu/VL4d4f9QG1SCwKysamH5AweSPVxp1ibcBzGkL3UAF0 9Bk3ZPEU2HsqV6A/bw71ORukmiQZepK97a62cdlDGYPeccJ72DBxQjQXRn6IQjXfhefS eCnDtfI8JA0401wehGUe45wccfhlmbgm2fhml4LApGyRmsocG18TBK/9YoEOXvWStD50 /ZQhBBNJHPYObezMhfTHJBbZ36OsjV13tucME61w0qGjegcLeOTXTGmGbM0OtS+ymQvq 03jg== Subject: [Intel-gfx] [PATCH v2 3/7] drm: make drm_crtc_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_crtc_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_crtc_internal.h | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index 0719a235d6cc..c78a44fad13d 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -31,14 +31,30 @@ * and are not exported to drivers. */ -enum drm_mode_status; +#include + +enum drm_color_encoding; +enum drm_color_range; enum drm_connector_force; +enum drm_mode_status; -struct drm_display_mode; -struct work_struct; -struct drm_connector; +struct drm_atomic_state; struct drm_bridge; +struct drm_connector; +struct drm_crtc; +struct drm_device; +struct drm_display_mode; +struct drm_file; +struct drm_framebuffer; +struct drm_mode_create_dumb; +struct drm_mode_fb_cmd2; +struct drm_mode_fb_cmd; +struct drm_mode_object; +struct drm_plane; +struct drm_property; struct edid; +struct kref; +struct work_struct; /* drm_crtc.c */ int drm_mode_crtc_set_obj_prop(struct drm_mode_object *obj,