From patchwork Tue May 22 12:30:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10418595 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 2DE5A60545 for ; Tue, 22 May 2018 12:30:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D58028A6F for ; Tue, 22 May 2018 12:30:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1287F28B7A; Tue, 22 May 2018 12:30:44 +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 C3E5B28A6F for ; Tue, 22 May 2018 12:30:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A4316E15E; Tue, 22 May 2018 12:30:39 +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 9D60C6E110 for ; Tue, 22 May 2018 12:30:30 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id t11-v6so31512124wmt.0 for ; Tue, 22 May 2018 05:30:30 -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=znV7pEt6glAjsYkB1ZXD3gAuPAaYph0iR9+rS07dAVU=; b=lZv0o0dGD5CyPYXv3xnIx2ZH+yetK3lFxzU1GkqVq95Na87ZHxIcpChdHXo6LJUjBw RyQyL3csy85dWooeU1MENuRSptvkMKBGu7hTfOlxp37MBphb5+vfMzdgaAdO1VOQTUFI 5uc8+8lZu53o8Sap0n6yWVIDh+WJn8ICJnrW2K9XmO8TlQYqbhxv41ichaijFqMnA1vT K6gnR5ft2shiLH80YwQXkHQr1mjeGtAF1JrG3cJ90CzyC0H5khV0BFb3cY+yLV0R/XUj jHy4UQpqe/Hwf6A5B1KziIvcESebLeOfQfNtWmKuV9qpVHD1hocrss+lfwi9ZcaVcZXq Svew== X-Gm-Message-State: ALKqPwfWqPWvNeRal8+9bqC9cjTGHS7dcSv4pzW3XK03hYQVcZkIo5F2 7XYVy7X3rVsboZiFv/xfEs6B3uZ4 X-Google-Smtp-Source: AB8JxZoD5Tj/fSNAYYl+CW5u0RD6LDA52DeDkHwyPImcxwxkSth9OhXfSkswVs7+sSKjd9tDDvtxkQ== X-Received: by 2002:a1c:e006:: with SMTP id x6-v6mr1010417wmg.80.1526992229061; Tue, 22 May 2018 05:30:29 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id z63-v6sm22822227wrb.34.2018.05.22.05.30.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:30:28 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Tue, 22 May 2018 13:30:12 +0100 Message-Id: <20180522123020.31624-3-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180522123020.31624-1-tvrtko.ursulin@linux.intel.com> References: <20180522123020.31624-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [RFC 02/10] drm/i915: Include i915_scheduler.h from i915_gem_context.h 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 struct i915_gem_context embeds structr i915_sched_attr so needs to include the respective header. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915_gem_context.h b/drivers/gpu/drm/i915/i915_gem_context.h index 74512c92a6a0..33933d43c61a 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.h +++ b/drivers/gpu/drm/i915/i915_gem_context.h @@ -30,6 +30,7 @@ #include #include "i915_gem.h" +#include "i915_scheduler.h" struct pid;