From patchwork Mon Jun 16 15:21:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 4360121 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A5197BEEAA for ; Mon, 16 Jun 2014 15:21:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9099D20204 for ; Mon, 16 Jun 2014 15:21:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9F3B8201D5 for ; Mon, 16 Jun 2014 15:21:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 212FA6E56B; Mon, 16 Jun 2014 08:21:40 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CF026E56B for ; Mon, 16 Jun 2014 08:21:38 -0700 (PDT) Received: by mail-wg0-f46.google.com with SMTP id y10so5648566wgg.17 for ; Mon, 16 Jun 2014 08:21:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=WCElBcnSvO9F69bJBYPnT3Ky9ixyLDQR+M0Urjxa47k=; b=MoRXfAE0aKr4t7cDT7TroNpfAQ/2KIv0Y4uRZw1TY+YiQ+MRKsTUlLPdGYIT4HWczO 7qYEohIamTA+2QlGNaaf8LIpy7BeLFssmFnbgnifpuX6Gaj7WPVxAqi8IlpeC2IYcw21 KJSlSA92wc8tUt8b6Fx1yNnN1F+spV3XOnakAKviMjYDV+HKBhDC4Dj6H4NYzOENRRKO 1IAWAWC9BCzmkX7b+BigYlKbHRotgciqoJ0K07bSGbSxd/efNXwDZnAnv3J5pnoStHBg RHYrkfhQV9SVyBLvLW3lNyhxU+Idnn0BrZ2TavJ1qFXWNwEGZ2nrhQogPo4KNticSAXd YKGA== X-Gm-Message-State: ALoCoQn1AWgVWhcFomcEQv3kr+jm2acp6nyYpNjRKDaSV3TQ+v4XjMqsUsIpgQ6qGAV4k/09Sfed X-Received: by 10.194.240.129 with SMTP id wa1mr29667877wjc.11.1402932097096; Mon, 16 Jun 2014 08:21:37 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id d6sm15361992wiz.4.2014.06.16.08.21.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jun 2014 08:21:36 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Mon, 16 Jun 2014 16:21:35 +0100 Message-Id: <1402932095-31527-1-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [Intel-gfx] [PATCH i-g-t] lib: add missing includes to headers X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 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-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Thomas Wood --- lib/debug.h | 3 +++ lib/gen7_render.h | 2 ++ lib/igt_aux.h | 1 + lib/igt_fb.h | 2 ++ lib/igt_kms.h | 1 + lib/rendercopy.h | 3 +++ 6 files changed, 12 insertions(+) diff --git a/lib/debug.h b/lib/debug.h index af9cf39..ca4b31e 100644 --- a/lib/debug.h +++ b/lib/debug.h @@ -28,6 +28,9 @@ #ifndef _DEBUG_H_ #define _DEBUG_H_ +#include +#include + #define DEBUG_PROTOCOL_VERSION 1 #define COMMUNICATION_OFFSET 0xc00 #define COMMUNICATION_QWORD 0xc0 diff --git a/lib/gen7_render.h b/lib/gen7_render.h index 992d839..7a6dc05 100644 --- a/lib/gen7_render.h +++ b/lib/gen7_render.h @@ -1,6 +1,8 @@ #ifndef GEN7_RENDER_H #define GEN7_RENDER_H +#include + #define INTEL_MASK(high, low) (((1 << ((high) - (low) + 1)) - 1) << (low)) #define GEN7_3D(Pipeline,Opcode,Subopcode) ((3 << 29) | \ diff --git a/lib/igt_aux.h b/lib/igt_aux.h index db0dea8..a90d8d9 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -29,6 +29,7 @@ #define IGT_AUX_H #include +#include /* auxialiary igt helpers from igt_aux.c */ /* generally useful helpers */ diff --git a/lib/igt_fb.h b/lib/igt_fb.h index c6558bf..6d030e6 100644 --- a/lib/igt_fb.h +++ b/lib/igt_fb.h @@ -36,6 +36,8 @@ typedef struct _cairo_surface cairo_surface_t; typedef struct _cairo cairo_t; #endif +#include +#include #include #include diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 17bf0a2..7d015b4 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -30,6 +30,7 @@ #include #include +#include #include diff --git a/lib/rendercopy.h b/lib/rendercopy.h index bb9051e..20619d6 100644 --- a/lib/rendercopy.h +++ b/lib/rendercopy.h @@ -1,3 +1,6 @@ +#include "intel_batchbuffer.h" + + static inline void emit_vertex_2s(struct intel_batchbuffer *batch, int16_t x, int16_t y) {