From patchwork Thu May 24 15:06:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10424963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3098A60327 for ; Thu, 24 May 2018 15:06:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E9FD294E9 for ; Thu, 24 May 2018 15:06:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 137F5296AF; Thu, 24 May 2018 15:06:32 +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 C1A2A294E9 for ; Thu, 24 May 2018 15:06:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F9E36E6DD; Thu, 24 May 2018 15:06:31 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 45B3E6E6C3 for ; Thu, 24 May 2018 15:06:29 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id j4-v6so6107852wme.1 for ; Thu, 24 May 2018 08:06:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1GkyqW3vYTeOE7hgtJtgkLgwQJMAjczlDfXvT38RYAs=; b=I22dMPUnkMZMEBs2ruan8SKugQJUFFEodhCyaB6pODmYYO1KzwiKMY4IjDkvbflfFC 5Em5nhyRboXWFX87JN7PFPDo4Ki4HqMBcdI8o748yJ6+vu6fohzhBroJ7AlrnD7IWv3R 5aOfeSAeEV43DbEtQVvfrzmdkdiWNouxK/DpLDcOLv+1F7SQsAJUOxwUKEa72Z+ZQvBr 4CmX6nQ7a45mNVDe5t9uvwZSISkWy+9BWxHy39f6PZieeXEoC2Z6rdMP24cy9+5+KXda ZOt7nyVmufDDia1Fh5QbyJ8aHvBixswX9C3KJ7dxz33nERqgWCm9H77nOKbBrRuLGkfa +M1w== X-Gm-Message-State: ALKqPwfHl227pDWfUYZkilcQSANfnVUmm8z6KPyYqGzdcTBOGs4qPQGj jy9GCj+TAaXW1MtFQnSMRX7VLYpy X-Google-Smtp-Source: AB8JxZqUwU9wyahu1Lc1HIaRkWASQCdstFMwz5V9+XVji7we/GUh09Lgi3FAaYUBMX+CxIRGcGFG3g== X-Received: by 2002:a1c:63c5:: with SMTP id x188-v6mr8643013wmb.61.1527174387825; Thu, 24 May 2018 08:06:27 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id y7-v6sm12317880wrh.86.2018.05.24.08.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:06:26 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Thu, 24 May 2018 16:06:21 +0100 Message-Id: <20180524150621.17332-2-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524150621.17332-1-tvrtko.ursulin@linux.intel.com> References: <20180524150621.17332-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [CI 2/2] drm/i915: Forward declare struct intel_context 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: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin This is to avoid an error with structure declared in parameter list if the include ordering changes. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_context.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_context.h b/drivers/gpu/drm/i915/i915_gem_context.h index 84fef3b1e6e4..b116e4942c10 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.h +++ b/drivers/gpu/drm/i915/i915_gem_context.h @@ -46,6 +46,8 @@ struct intel_ring; #define DEFAULT_CONTEXT_HANDLE 0 +struct intel_context; + struct intel_context_ops { void (*unpin)(struct intel_context *ce); void (*destroy)(struct intel_context *ce);