From patchwork Thu Jul 10 21:53:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 4528441 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C4B119F37C for ; Thu, 10 Jul 2014 23:33:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BD24201DE for ; Thu, 10 Jul 2014 23:33:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 38DDE2011D for ; Thu, 10 Jul 2014 23:33:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 78BCB6E7B1; Thu, 10 Jul 2014 16:33:23 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by gabe.freedesktop.org (Postfix) with ESMTP id A3C096E01B for ; Thu, 10 Jul 2014 14:55:00 -0700 (PDT) Received: by mail-wg0-f52.google.com with SMTP id b13so200751wgh.11 for ; Thu, 10 Jul 2014 14:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gLI1MwiNX0cRS7CvdMCDtXI8zvgWmo8RF5itxTea03k=; b=h+gNvz7++LJrczLY1j3e3zFpna7mNOisup1uZueHjl7pwhoUKfA9ittsMlpr0wh/G6 aPU+7l/7brFQoJd8lbCeNJfYW7CgCCL+N+lfIbuyfZQZI7ooIbLOkurjlXqkW+wvtqU9 Ecq4WZrIYn4m7wDeG5lbzBk97SlfesukytlRMKTp4zShHNs0afTOY6MmqIn7HvCWRWp8 XumGYdTm6UKA7WaXkZLxgg4voSdTSGor5FcEHoJW5lUXh1d/r/k0A/ZhEEREk/PGVdHM uRkfpf0uhf+c2TR0Ff8+20yMOPHPgY2AmxCoDwz5w7gZlL/6rid2t+m4JFSi5VPls51C mZiw== X-Received: by 10.180.189.210 with SMTP id gk18mr11256841wic.82.1405029299831; Thu, 10 Jul 2014 14:54:59 -0700 (PDT) Received: from localhost.localdomain ([77.127.59.49]) by mx.google.com with ESMTPSA id pq9sm831097wjc.35.2014.07.10.14.54.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jul 2014 14:54:59 -0700 (PDT) From: Oded Gabbay X-Google-Original-From: Oded Gabbay To: David Airlie , Alex Deucher , Jerome Glisse Subject: [PATCH 33/83] hsa/radeon: Fix coding style in cik_int.h Date: Fri, 11 Jul 2014 00:53:49 +0300 Message-Id: <1405029279-6894-5-git-send-email-oded.gabbay@amd.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1405029279-6894-1-git-send-email-oded.gabbay@amd.com> References: <1405029279-6894-1-git-send-email-oded.gabbay@amd.com> X-Mailman-Approved-At: Thu, 10 Jul 2014 16:33:12 -0700 Cc: Andrew Lewycky , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Oded Gabbay --- drivers/gpu/hsa/radeon/cik_int.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/hsa/radeon/cik_int.h b/drivers/gpu/hsa/radeon/cik_int.h index e98551d..350f0c2 100644 --- a/drivers/gpu/hsa/radeon/cik_int.h +++ b/drivers/gpu/hsa/radeon/cik_int.h @@ -26,20 +26,20 @@ #include struct cik_ih_ring_entry { - uint32_t source_id : 8; - uint32_t reserved1 : 8; - uint32_t reserved2 : 16; + uint32_t source_id:8; + uint32_t reserved1:8; + uint32_t reserved2:16; - uint32_t data : 28; - uint32_t reserved3 : 4; + uint32_t data:28; + uint32_t reserved3:4; /* pipeid, meid and unused3 are officially called RINGID, * but for our purposes, they always decode into pipe and ME. */ - uint32_t pipeid : 2; - uint32_t meid : 2; - uint32_t reserved4 : 4; - uint32_t vmid : 8; - uint32_t pasid : 16; + uint32_t pipeid:2; + uint32_t meid:2; + uint32_t reserved4:4; + uint32_t vmid:8; + uint32_t pasid:16; uint32_t reserved5; };