From patchwork Sun Apr 3 16:35:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Engestrom X-Patchwork-Id: 8738451 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E6CA19F36E for ; Mon, 4 Apr 2016 08:27:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D2EE201B4 for ; Mon, 4 Apr 2016 08:27:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 29E4E200F3 for ; Mon, 4 Apr 2016 08:27:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92D7B6E4D5; Mon, 4 Apr 2016 08:27:49 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id A5D616E0AC for ; Sun, 3 Apr 2016 16:51:53 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id f127so19255241lff.1 for ; Sun, 03 Apr 2016 09:51:53 -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:cc:subject:date:message-id:in-reply-to :references; bh=kKIDFMbu8l051ZH4dYD4mtXYghvvFdqP4VukZfkQRbI=; b=im9tAkJmKxfwLRCkaXq0/4n8lkRUL8pjjbYhzLGOZLNpi8UteNfMSQ51NziHeRwEv+ iJ0gGqV0o8FaVYalVtRA63uBKDQza+k3YlmLe13xsudlHkW6sQn7G5VMFaLQqrOkwaVC grTxYa0xYyzyjOb3jvtTtUrRIvJkaubVA/4glB1+MxBtPayAcgTU+C9aWSYns2xjgf/n TWuMSaCIKsm5eTvwCiBZs3L4jaz80z4O9QqY3r8Whl+OpAAOu+DX+f+Gokt5Ua2/gfbD PJ3d5bB9M0dDyMXtraHLKnPv+2XbD92oGOx3l/kBuGuRkFccPXKHFGU6X+1B0xnPaT6a qGlA== X-Gm-Message-State: AD7BkJKrmi0SlOeRWRXjr1uw34ZzupZ4CCDYmwSXa1vEMXtAIDYU3bfwjNPXvq5rCEdliA== X-Received: by 10.194.157.65 with SMTP id wk1mr210991wjb.83.1459702311288; Sun, 03 Apr 2016 09:51:51 -0700 (PDT) Received: from Eric-XPS.localdomain (0545748a.skybroadband.com. [5.69.116.138]) by smtp.gmail.com with ESMTPSA id t8sm24599519wjy.41.2016.04.03.09.51.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Apr 2016 09:51:50 -0700 (PDT) From: Eric Engestrom To: intel-gfx@lists.freedesktop.org Date: Sun, 3 Apr 2016 17:35:27 +0100 Message-Id: <1459701330-2263-2-git-send-email-eric@engestrom.ch> X-Mailer: git-send-email 2.8.0 In-Reply-To: <1459701330-2263-1-git-send-email-eric@engestrom.ch> References: <1459701330-2263-1-git-send-email-eric@engestrom.ch> X-Mailman-Approved-At: Mon, 04 Apr 2016 08:27:43 +0000 Cc: Eric Engestrom Subject: [Intel-gfx] [PATCH i-g-t 2/5] assembler: fix spelling mistakes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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: Eric Engestrom --- assembler/brw_defines.h | 2 +- assembler/brw_eu_compact.c | 2 +- assembler/brw_eu_emit.c | 4 ++-- assembler/gen4asm.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h index 24e5e30..637b716 100644 --- a/assembler/brw_defines.h +++ b/assembler/brw_defines.h @@ -1239,7 +1239,7 @@ enum brw_message_target { # define GEN6_CLIP_XY_TEST (1 << 28) # define GEN6_CLIP_Z_TEST (1 << 27) # define GEN6_CLIP_GB_TEST (1 << 26) -/** 8-bit field of which user clip distances to clip aganist. */ +/** 8-bit field of which user clip distances to clip against. */ # define GEN6_USER_CLIP_CLIP_DISTANCES_SHIFT 16 # define GEN6_CLIP_MODE_NORMAL (0 << 13) # define GEN6_CLIP_MODE_REJECT_ALL (3 << 13) diff --git a/assembler/brw_eu_compact.c b/assembler/brw_eu_compact.c index d362ed3..c747e0f 100644 --- a/assembler/brw_eu_compact.c +++ b/assembler/brw_eu_compact.c @@ -727,7 +727,7 @@ brw_compact_instructions(struct brw_compile *p) dst = store + offset; } - /* If we didn't compact this intruction, we need to move it down into + /* If we didn't compact this instruction, we need to move it down into * place. */ if (offset != src_offset) { diff --git a/assembler/brw_eu_emit.c b/assembler/brw_eu_emit.c index 23f0da5..1f51037 100644 --- a/assembler/brw_eu_emit.c +++ b/assembler/brw_eu_emit.c @@ -1164,7 +1164,7 @@ get_inner_do_insn(struct brw_compile *p) * * When the matching 'else' instruction is reached (presumably by * countdown of the instruction count patched in by our ELSE/ENDIF - * functions), the relevent flags are inverted. + * functions), the relevant flags are inverted. * * When the matching 'endif' instruction is reached, the flags are * popped off. If the stack is now empty, normal execution resumes. @@ -1431,7 +1431,7 @@ brw_ENDIF(struct brw_compile *p) emit_endif = false; /* - * A single next_insn() may change the base adress of instruction store + * A single next_insn() may change the base address of instruction store * memory(p->store), so call it first before referencing the instruction * store pointer from an index */ diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h index 6b957e2..1e75126 100644 --- a/assembler/gen4asm.h +++ b/assembler/gen4asm.h @@ -173,9 +173,9 @@ static inline char *label_name(struct brw_program_instruction *i) return i->insn.label.name; } -static inline bool is_relocatable(struct brw_program_instruction *intruction) +static inline bool is_relocatable(struct brw_program_instruction *instruction) { - return intruction->type == GEN4ASM_INSTRUCTION_GEN_RELOCATABLE; + return instruction->type == GEN4ASM_INSTRUCTION_GEN_RELOCATABLE; } /**