From patchwork Fri Jan 26 18:29:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "StDenis, Tom" X-Patchwork-Id: 10186729 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 0E56960383 for ; Fri, 26 Jan 2018 18:30:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F19F428B7F for ; Fri, 26 Jan 2018 18:30:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E450F289CA; Fri, 26 Jan 2018 18:30: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=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, T_DKIM_INVALID 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 8E1422852E for ; Fri, 26 Jan 2018 18:30:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 39D5F6E7CC; Fri, 26 Jan 2018 18:30:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0051.outbound.protection.outlook.com [104.47.36.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id A34456E66B; Fri, 26 Jan 2018 18:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GvEjLdsO9a+uHHLHcSt1U92C3VYyvx91gEh8KtRJQrY=; b=BxFDPgj5ZCJSQfkP95KRRR0ROkAEG69rcNG3LG2XWuUzZgAMzfAxQ0qKFjhPUryvHHGpiOaO712ODYzxEcL4hWAgcM5iXyOUWhkkSRlV5P1OdMojsvsGoFu8yi7bDV4zV0PUOeFIABvNzXzTtNI1UqDIyb36s5biNNqKdSCZ7sU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Tom.StDenis@amd.com; Received: from fx8.amd.com (165.204.55.251) by DM5PR1201MB0076.namprd12.prod.outlook.com (10.174.106.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 26 Jan 2018 18:29:31 +0000 From: Tom St Denis To: amd-gfx@lists.freedesktop.org Subject: [PATCH 08/12] drm/ttm: Fix indentation in ttm_dma_pool_alloc_new_pages() Date: Fri, 26 Jan 2018 13:29:07 -0500 Message-Id: <20180126182911.20761-9-tom.stdenis@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180126182911.20761-1-tom.stdenis@amd.com> References: <20180126182911.20761-1-tom.stdenis@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: MWHPR03CA0027.namprd03.prod.outlook.com (10.174.173.144) To DM5PR1201MB0076.namprd12.prod.outlook.com (10.174.106.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1a87ad3d-22d1-4646-225c-08d564eabe5f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM5PR1201MB0076; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0076; 3:Rsl5k1xZX+ZhKdSqInFwsZh0oIiFlsIwJQxT1wZ8hb0R++g3ArfCS6CSC57/Q9iCCpntBBnM1gI7dHVR0N3vFBt4jYHQHbEf51zSOY7/QuUjumK67Bc64HvIm/yEceGEJ4r5upCr4qGrxgB/L10J2qFq1cLswrjDLzj6rD/8mhNl4jisfnjQXn0kZBN6H3Z54ugzEjVlwEX8pkOL8xnNKh31I+k3xuxrA1Sy65PdfV5bqkc+CY6cR/MIe2o9EZdp; 25:rHJNyfeEztQHno6uodvlo2xDz011LEvXRB09lUhSfqubMXWPdCbReFOVVGdRRcxTvx6eT0GkUKVXRsgZwmeFTrf6ccxEoCV/dkUpe7hdUVZRUy1EZkicuFHRjtz6DbQi4AeTfCFlip0Fj2wjp8xW+QY62alK0otW03EByg4bQ4zy/+cx3V+68gF//lJaJVTGG9Je+gQJanL+5bQgo//VCojBU/7lzovbwWNoB09LN+3tEiMkOYTTUHOpE1q30Vp/DzWDEA66T6GKAUxDWki7GBquhGhLbGyKJziaW48uTqxcvrNOotGn2bpRf8XcIdRUpTNHV7Qgovj9PpPhbqiNnA==; 31:1oGhTPX9kciFPEhgnMShCbDytaSYpf8jLYlo2FVeRguwe4aaEFQYvu48NZBBVeGLQ3Qzc9fls91B++pDSVYd7IZlQ3OmyNYGs0PPuj73W/Lvse0HpjCR+RBQqFKMGVw2bDw5wF6RaIRtDoJyETvBtGlYZ1Rnxla/Hw3HCldUrhxRJiFTPu0Pz7CxP5f/OEAdR4tDeBWY16aDICu9q0YPhcSbJk0XyXimbrBd4SZYtmY= X-MS-TrafficTypeDiagnostic: DM5PR1201MB0076: X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0076; 20:qycJSrthz6nOPgawaOxhj17JDvng+oQQCpeet2KrltwgMYwIRmHABrsJk39fWWBzhRBkh2oRvhh0sPYFiR0MRDWR53h4BjDZmAE1oKdFbnMkbWGA5rjgKDfM1PpBLumszV5rpzMCncalKvW/XbN55IEBGx5Q3umOa6JKZNUEw6CWHwgj0kmEkpMhUEBKh1WCB8kdbu+xhvlUuJohv3g4xHS7WCqZ/dv9F8d8TT6EtizATTylkaqJA7R4uAayTg27LA5Pyd8eO45TcKUJ1y4FIiRFl0QHkQoF6ToKnZFewXupIufvPspE2L7+RhJPP0ShnGiSd6It9+17noXNbgpcjOEmtAMHSTeYWV9VsroNefG9MJWLVc4EHkpdEez5RGsZF4jKMmEc8wGC1vZb5arJbXe3316NXTOqHUhJPQhYpT/VrHIp5/2kCOxBQRshYTxioprjlNjWe4HGDJR+rc7i6LqRqZHlTRfwddiDwWhNtTfipbX3yOJTwNdyXksNirpB; 4:pzV3QN09a5HUS8ekwa0XfFzufz581OM2d/DL5Y1g86aVXywaE5SuIADYwPWPNCbRC5hGAUzlrJj+WLcBa4xVHVWi96wDQhgA6ZCGY1phRxXz08cmKe2ajxO+uSJdzwh2BRcwIjeA+vzkMs5V2iJxFtk3F4wujnXURa8REE9Gh1Xmg8kVCLgim+fdcbM9+UuIjbav0WBgOusTlVExPWnlkDDdJ0RcOQMK2pHpEhT3agBG/WgjZwxmQADtrhsmigu+o2iYm/p/Z06CEAeTWC5kEh17M1urQEt3sAeCz41gD/lyTxQsvtZ/0NFoSCFCpmKb X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231075)(2400081)(944501161)(93006095)(93001095)(6055026)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR1201MB0076; BCL:0; PCL:0; RULEID:; SRVR:DM5PR1201MB0076; X-Forefront-PRVS: 05641FD966 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(396003)(39380400002)(346002)(199004)(189003)(6916009)(2950100002)(6666003)(7736002)(305945005)(5660300001)(1076002)(6486002)(6116002)(3846002)(53936002)(86362001)(51416003)(16526019)(81156014)(7696005)(52116002)(186003)(26005)(8676002)(97736004)(386003)(50226002)(53416004)(76176011)(8936002)(81166006)(25786009)(36756003)(316002)(478600001)(72206003)(47776003)(50466002)(68736007)(16586007)(48376002)(450100002)(66066001)(4326008)(2361001)(106356001)(105586002)(2906002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB0076; H:fx8.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR1201MB0076; 23:7R/jiyM8sj8mkeSkCK1BTQTVe8Sx+ogo1TOKzwu?= =?us-ascii?Q?IVZZZZ25E2UsXR2omT2LHAf6xjLNPjXM5y50C4MOp2MYyz7QJm9n7iGppB5N?= =?us-ascii?Q?9TXHSsfoEfShz974aAQuzmeYetjuJQgH/wHMIFn+1AK3wsx7641tz+9dMPPe?= =?us-ascii?Q?FCB3vfK4MW/uG05hroOto0Hzl9qrZFrmrSvKRbI+tz6tPlFuXxagPP+HRstg?= =?us-ascii?Q?Dgz5UMXKygQMIaSCajZG/MN7CqRhSd1x+ZRtHFbFt0EVerGndIKOqdaguhos?= =?us-ascii?Q?B0U1rNAN6iU7CmHyXcKxlHJ+5A56Mok8aoon2QrvQhokwVK2PWsMMnV1Xtjh?= =?us-ascii?Q?U5yb7u/57HeNvSLbNALIQM+VAfBuMey6PgW6mWYtsjQkQsNu9OrYU+tveGvA?= =?us-ascii?Q?QkMsgTfRBuSPPqU4aI4XApK+8zk/jiodBsp7Nb0q79nbaTY+EqLK+JKDlJxY?= =?us-ascii?Q?xd2kh651b0s2/lsm1pELr14sHRLlYfoMBzuk4RLJZOvFYX2HXHnWxM9ZWXvh?= =?us-ascii?Q?cOHTKeHigRGNtnB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abZARM4GyTKQ6o8W+6TTgywSPQ4u/uRmdoqIty8gk8ZBAuL3g7uv9FF9xI9UhaccoonSxdy156DMcH7PPBWJRNRKxziVaSHb8XbjFrNcI1wIbHsFLxGqIRKJj89UsL955PQY7CV3msjO39WVchniBIlR0afsfvDbkeE=; 5:n4DpmvrN9GPL1DuiMj5eC+kSpPENrkZXn8fGzWSd2zilyXn7IO1f4w6tZnHSeyYxEhjcKIWL6hO7bhFq64r0PdlDfZUbh3hiGn2n89ki2dYiXOD1VwQ0a73TW0KT7vXBDCnHs2uAdDbv+5jdQC3qwf46RuVeHJwklv8JUmzxyvc=; 24:xRtzrPpLsTHsoDhNJiHpaRvYmcsNytJFluiwAC2BbKS8N2gzNBLstvmkQhbOfSBTVTPg+x/hR62YT+yIiFs66NXbK5TDDmYd3AotLViT7vA=; 7:uXB8Firhndef3ZUMRjzTbP3nPtbQk+TOhw4EUZBtZNkbO3gL/TRdAtpTAvM8saidaIrN4cm2s4AX6T0lUFR1AX30sM6Hyp4KvPBCffUIVXNBUWUGU1RYES7165vmDlO2khe3ZdBFLpoR/jhcwihFKg06NNYEZvXb7+RlMmyDTprk6i4T6LJIYkAIeiRVYKrrd/iPd4Z1c1ASBushaJup5PXKB97YrWgJXkeMfjD92FbiSVFuaBlsqh8eZUXJejfy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0076; 20:gEeAb+UlcAV/AeTOM+N8Egx9jbobbVWQNb9gjftdG5hItd/6jV6dIsjDLLNVpzDNjIDQcFE2MQrotMm99GCwNsiknLS00nuAiz0o07xz4LhQtRSeptF8Pen5Kqh2kKZAtEos7FpSzBIrHzYQtCIoMIGTJTmFdYsbCw7m2mTvEqzx/50pJ00mQActhP6LK/YOR4bdKS6BNrHTTQXVjzfHpwhA/8RgisP8ChEFmSD6/U91Ph3tmwGb//+x9gAZq/yR X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 18:29:31.5573 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a87ad3d-22d1-4646-225c-08d564eabe5f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0076 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom St Denis , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tom St Denis --- drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index 579c4aedc17e..aa1ec35dc187 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c @@ -762,10 +762,9 @@ static int ttm_dma_pool_alloc_new_pages(struct dma_pool *pool, return -ENOMEM; } - if (count > 1) { + if (count > 1) pr_debug("%s: (%s:%d) Getting %d pages\n", pool->dev_name, pool->name, current->pid, count); - } for (i = 0, cpages = 0; i < count; ++i) { dma_p = __ttm_dma_alloc_page(pool);