Message ID | 20180129135513.22538-12-tom.stdenis@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 783066020C for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 29 Jan 2018 13:56:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65F3028741 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 29 Jan 2018 13:56:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A91A28797; Mon, 29 Jan 2018 13:56:38 +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=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 1CB6628741 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 29 Jan 2018 13:56:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DD1FB6E4F6; Mon, 29 Jan 2018 13:55:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0058.outbound.protection.outlook.com [104.47.38.58]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA9C26E4D2; Mon, 29 Jan 2018 13:55:37 +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=pp6xvbwHChgHgNj+BRroCD1oGs1iMJSAIuMp9ZRtqVw=; b=TmAb/9GvweTjvdf/hydSZbH1WCaJ+B6oSXLhE48EltD5AwJ1c7m1oIKAXmaOYM2mr5QCwVMM0dzaIUnu8E6V2vNGBIm3VoRqAT+NjftRLOHNaAbu4Gqn3WRVhj2ywrupxainKFTTBWyZrb6bNIgz+1TRHVl77wL9nwIgGSKHjPM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Tom.StDenis@amd.com; Received: from fx8.amd.com (165.204.55.251) by DM5PR1201MB0075.namprd12.prod.outlook.com (10.174.106.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Mon, 29 Jan 2018 13:55:35 +0000 From: Tom St Denis <tom.stdenis@amd.com> To: amd-gfx@lists.freedesktop.org Subject: [PATCH 11/12] drm/ttm: Fix coding style in ttm_dma_pool_alloc_new_pages() Date: Mon, 29 Jan 2018 08:55:12 -0500 Message-Id: <20180129135513.22538-12-tom.stdenis@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180129135513.22538-1-tom.stdenis@amd.com> References: <20180129135513.22538-1-tom.stdenis@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: CY4PR14CA0027.namprd14.prod.outlook.com (10.172.162.141) To DM5PR1201MB0075.namprd12.prod.outlook.com (10.174.106.17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a1f3d73b-85eb-40ed-62d5-08d5671ff93a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM5PR1201MB0075; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0075; 3:NpgFRZfSJOkAeKN1RVYmn0sYYoQToGslj87KQUAqcX2BB9BFpA9ChOt/w7yeko1ebBjCkZZMdFVwqLeWvHMhsiI+ByTCWO0WOtJE4aq2xpKRStL8/wWM7nWcDnUcuD1BlWjp5sMFFJPxu/cRpQen/0wzZnaYxn6jp6w8ll2etr5x5P9DvvQqSdHGkK4kHngdyhifCTTRSolWT8M6/Pgm0oYAxnei/4KyjJn4mpKG9YSwfs8M26cGtMA1A6T2wRoP; 25:KnRTNiNCzisc2mK286lz5CxLiMeBSX6e9v3lFSzJA4mvUT/DlWiVB/UaKUMxjuGcYjlUOc1c1XcO19sUKQCg+OuX7F4FDlXK8Ej29IrxeHv98jfSOYMi+r4Lf/eUIYTLjM1oqKOVukLjikUU2KaBAAVROmQSf2p55kZrdTbaAGUFkLBFFOhA/3xfU6wlLbhTbXbNwjoLqJGtGkMnPsIWjtWx353iePZZK7CWheC1artLqjsivJH0ybVQLdSZSunsWD5J7r/tE3DvYTqwzpkiQ7cMSsSJMoNAdmtRXciiso5q37fDWoNYyC7SePK5CC1gnQgDwrjjhJxC5310qGevFQ==; 31:ycj0wWrbxZwqKt8OJ/A7mx0HV0P8WLuJ6q1xtqEv5fulhTSJdrVQCxDrFYOSDh1JNSNHOfulFWWybAWfP3zq9NJCSOBU4r++bTmMcd64FfAUbcj2oeRKba1T2EHJVg7H+qxUQqUFhzyexFRBBBmG4msSmenPKGkRD825jhswiWTIMXk2mcMzvKQJM1DNHhBm1NeuDbvlh3MxiPRTypRgTppyAhaOBFaQ5oO4OdMAde8= X-MS-TrafficTypeDiagnostic: DM5PR1201MB0075: X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0075; 20:dW3Mf8wtY/5ZedJnJ+O4GSi6Z0cVeuZ/UZzIkj2AhOoy6+23wwcm4UZRUskafL/re28FkGjBjNZronk1lgDfBYgQAYW7u9SSgTT28kmEB4kVkBf78TbjCA1HmAqRuuraCE0nYY1iUOZaUPIOk7DYpxk0Bhb89L7WTlPoTd3l4/ZoM0k5bSeQFJuOD6nJ69AIAwAXJ7M0MBrzaZlxmSZAIOvgEGTijtg1PFuAumGQe6hjlyk9fVd//iFjXOVKRHctAAN9Bj5wKLTKi/Ef3MmmrJSR0HYAls67o9/78ytX3RvdM5eKxFSXQoXsYoxCHUR7/hfBlhmjbtgQPAGesbyDVR7KbCXPUPs98lSJHBSM2UuXgN/gnXZp5KbnlqvDDoJE8AmHG2sqs/SSBJzrpGOEKcqn+OW6v3jyzJWNcIbrUEhDLuyYF+34DAE2YhzI+zmrsI5WNz7EZWRxSa8i0hEO71S8BOQu/Z03q0JZvVzCyQnrtr+vFM321wHv0dF06LU+; 4:Zss37WNTPpiRaGA9lY9nY59SctUjC8RRaSiXYXCFKuMij0nM7WqRb4gh/rrnatS3xu/EezIKBx/dU3+HEiBazIO5FH3T1tqp8chfe2YTEz3W/4U+6h21dPvlkm4NHI5QzDmmZZGsoVyABSTwRa9ZmS8W0eJ0L4QzYYrPe8J+OTcXOF2377tHOEAn9/A+H0MyAMZpp1tWhPQWEpD7jJtkZ3D/e++t203CPVGPQPsJwmNS+AMTeYrvQVLQVIh0hy5xSuaXZEGZzyJgs2EqeauVFmsZfTuoA8sK5+e68jSrkor0AzS2ISSVvvKHWRc1EAsX X-Microsoft-Antispam-PRVS: <DM5PR1201MB007542C4583D59D05667D84FF7E50@DM5PR1201MB0075.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231101)(944501161)(93006095)(93001095)(6055026)(6041288)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR1201MB0075; BCL:0; PCL:0; RULEID:; SRVR:DM5PR1201MB0075; X-Forefront-PRVS: 0567A15835 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39380400002)(396003)(39860400002)(346002)(366004)(189003)(199004)(76176011)(478600001)(7696005)(450100002)(7736002)(52116002)(6486002)(23676004)(86362001)(305945005)(2870700001)(53936002)(66066001)(5660300001)(72206003)(47776003)(4326008)(386003)(81166006)(97736004)(2361001)(25786009)(2351001)(106356001)(316002)(6666003)(8936002)(2950100002)(16526019)(2906002)(81156014)(68736007)(6916009)(186003)(36756003)(105586002)(8676002)(53416004)(50226002)(1076002)(3846002)(6116002)(50466002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB0075; H:fx8.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyMDFNQjAwNzU7MjM6aG5qUUh2MzZKZ3FVTndsU2lRL2RZMmRu?= =?utf-8?B?NUdsWldkbUU3akdHUVFmRVJsU0NxSnhxaEh6UE5MamorTjVyeTI0Y2l4enYr?= =?utf-8?B?bHRqa2ljR0s0ZTJJY2lnOFBGU3YyOUhpRHZvRm4yRzlVdzlaUlFvMlBGZEdT?= =?utf-8?B?bmxmd0JGZFhvR29BdllPN2Z6c1RGRUNSd1h0cWtHTE5TbC9WWXlrSkR2aGVz?= =?utf-8?B?ZFJtMFhxL0NsVmtaU2hUTGIrcHo2b05pMUxUd2hZV2RGdzFhSCtDK3lsSmNH?= =?utf-8?B?TmxDN2dxUU8ycy84U3hLMU9aVEpxTWhEOCtFdXk4RXZNM1hrQjlZQU55b1hM?= =?utf-8?B?VjVHWHE1dEcyS1B2QjFEazd2MXpaZWIvL3loWFJGUXdxUlpxTkNuM0RxMWc2?= =?utf-8?B?NUFrQTNVdThuTEdXdVBxMDFrVkpmV3VDNDUyNnhTM0NaZW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0AKLggFhAB3LS+Zhf//SdR6d1GazGzhcLXlRPC7qDdxtkzENEOHmKVvgWax7S2V0b5pRTXpFZFBvHmhwuFjlAYdc5wv3mhnvoYDP52KtEwamv3Ic0O6mdj9EkYYEWCi1oX6oIkFtbKREsQ/4IVlTIfvkhgwAQmfFIliRaAd125sgcj4ihnmYnWiRoj2p2ekIjmG7v7b SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0075; 20:iSaSgdt8FO7XEvxTCBwU8NvXIsZqO6qlJtUB0iVmsvN0L29DrzgIS2ylamLc/rUR9Dhbd1KUdCFD9mW8YRbUcfXpJoZ2q6OtizmZMO1PLWoudQv2F6iWGKsIWpdy4mXSNsZCyz2H+zxOeZJNHjoKTrFuLnEcU7sJO8U5aT6OuPtgBrNH6mxtnyRGCcEg0cMTMNLxUF0eabpzcBM0qAcJnHotWFSz7jH5th+/wsRAlGcceLJArB5SwaAf7Rg+xTwC X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2018 13:55:35.9230 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a1f3d73b-85eb-40ed-62d5-08d5671ff93a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0075 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Tom St Denis <tom.stdenis@amd.com>, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index 469e68e06be6..fcd16804c738 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c @@ -763,10 +763,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);