Received: by 10.223.164.221 with SMTP id h29csp2178118wrb; Thu, 2 Nov 2017 07:04:28 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TbmeFmDuenHdH9e5jPTG+R7DWJK3Lcelwzw5+rS7a33mDsThUUQu9IDCn1WpLtP+g//XZ4 X-Received: by 10.101.69.137 with SMTP id o9mr3654002pgq.127.1509631468083; Thu, 02 Nov 2017 07:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509631468; cv=none; d=google.com; s=arc-20160816; b=Eb2PDAqvMhbsB19BjT+5tHLHtmkUuIOHwIxpsgN34pzP+4+l4Z2u/2akXD3bScvNNy jDuW7hEnY2t0s/rSnX9Rjf/hudS/QH/FG0WLVCVg/eRiu+TWvM0cbdKLWwGLWeGF9sJ+ NV/rAD4khp6HphVV4UqpTPCrm6Mz16WCbAi6E//cYigGfEBLw11DGBI5aL2CYN9pdfYj GtwLGNZiBFxShYOXobS+ZlS/ZfH0CJGivTqHzcok9uLgW4BUm0I7K4DBPgKvSttZfZCS 0QScJUNS2xRlCBM8v1Xt/eP6pjMj/U7OhBOYsk6o45MaC0XDnKgpMQ2wpPY5pUPPTPtk hLOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=5SGP7HrNahBGWt8msF4a94tUBfGHvVy/LZ+pxYprbhQ=; b=ZZ1RBmaC4qmzpsBE8M5f/mJWezaqkUwTX2QzuBVtt+gK6NcC+KAsuTzaq8a7y3S2qH eDj7+ZjG4765JqQ3PxCKtz1bWzQnIStTTxT9QmwzPdhMtpFc2DXyEF0muei6VievlCTB onk8qvKF59jbjpBSKMy83s5dug9YZsCyROHI0uhK86jhgw9UQY8t9H6eGD11J0qjYm+m u2gBSaZPfLgT19xNaXmWTQRMT/DEQ1CT+d3VoKwjIcOV/b4tpAeN+9eKQ9uGUZk5VVpi gdb307jax2nbrCF42MadLo85eAvSOkNgdMRW2o7eZbQ0Mh8uhxYZzJ+Mz41W/XNwwGh+ JZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=Bn5KH5rd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x85si3808369pff.344.2017.11.02.07.03.48; Thu, 02 Nov 2017 07:04:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=Bn5KH5rd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933262AbdKBOCl (ORCPT + 96 others); Thu, 2 Nov 2017 10:02:41 -0400 Received: from mail-by2nam03on0061.outbound.protection.outlook.com ([104.47.42.61]:19656 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932312AbdKBOCj (ORCPT ); Thu, 2 Nov 2017 10:02:39 -0400 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=5SGP7HrNahBGWt8msF4a94tUBfGHvVy/LZ+pxYprbhQ=; b=Bn5KH5rdXEMx+vpVxVM0NCEaFwPGHF8VC7WZpwsNTul7WtpxH1ql+YDTHhx8XMYaJXP0b5F+bVo9IZ2aX6nrU0cwOeHJ5SeJumqArRYqqd6P1A3comxfJWhLlHImqRCJdgjB1t1KsBvaRWHRzgsbXHE1Y16hasCb7cfdCDltoWg= Received: from [172.29.156.70] (165.204.55.250) by CY4PR1201MB2470.namprd12.prod.outlook.com (10.172.116.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Thu, 2 Nov 2017 14:02:35 +0000 Subject: Re: [PATCH 3/3] drm/amdgpu/display: fix integer arithmetic problem To: Arnd Bergmann , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= Cc: David Airlie , Tony Cheng , Dmytro Laktyushkin , Joshua Aberback , "Leo (Sunpeng) Li" , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20171102112657.111405-1-arnd@arndb.de> <20171102112657.111405-3-arnd@arndb.de> From: Harry Wentland Message-ID: <0eb751e9-5b52-a513-e597-25e9542b754d@amd.com> Date: Thu, 2 Nov 2017 10:02:28 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171102112657.111405-3-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: CY4PR21CA0028.namprd21.prod.outlook.com (10.175.113.142) To CY4PR1201MB2470.namprd12.prod.outlook.com (10.172.116.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5c8b0612-3b38-49f0-c10f-08d521fa5f29 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603238);SRVR:CY4PR1201MB2470; X-Microsoft-Exchange-Diagnostics: 1;CY4PR1201MB2470;3:mOJ09FvrYAtWLC68Ct7O4Ic4YVLBrbpubI6zIzXIjV3ok5z/1iBNTOZdycFXhYpvIE5C9Ru94rGgE1+Q++q1L73hzafZoL3gTCjn9YQ+hdRebi26bJNgFhlB51JtllMuSYvbaDZhT3B+WS0DUshJtdNz45vMttAu3umUvHmnKCJlf9osgF2GX9OBwQy0M+FtbxiHDjM+SQKmBCDgpTFIZ3MHcTbXtYjGlslSHRaFFOq6jqtozKJEwfIdkRuEiSXW;25:QtYrVSvvjy9o1khGgQq8+Itz4dGzhahmeXFGGaV/M+56kcq1X+7J3jhiGyUVBQ/b3eLAx7kJ9Udo5TWf3Lim0PssWJ/kuIgB8az4ogfRDxH0syXwwOqhNsXX5wW0zCalrv60TixT4R0OHJfnb3kcy6Q09BsLIsUdhpHpkOoxJ0z2XmEc16Bw7JXjJ2ayAtAnqrOA25GQhp7Oq9GwwUiU0oOCIA7ddjIERTYKy9xrCPQWJNqIIzGXCplWSENTSZD4tryeeN34qf+vGqgfZlk6BBgZnnYECg5juRIn06ENS7AVeRd6ZTBMgwvbD1zVGJg21Os3N6HNeqPx5k6glERSgg==;31:a3ljHOzxF3mxVd3d/Kj7zSoiP9OjyWH4FhaYDzOUlGtBsHIsDx5bSD3GDRSa7qkuxR8CGhagwDfn5c1gO6TBHjze2r9su7YFA5YzEb4sFxo97B2kXzXXnVgxx4aF26Nf7tIcY23zY6x8sEIZnXBCWSJkoIR9H+RYI4rtr6v6/X/3WVQqa0OAEAYlwRtWd24zAEI4BG+RAKFwQYkE6MoVDFNP+/y5gSp5yFPWtoBauJU= X-MS-TrafficTypeDiagnostic: CY4PR1201MB2470: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Harry.Wentland@amd.com; X-Microsoft-Exchange-Diagnostics: 1;CY4PR1201MB2470;20:EBTzrhNE7sKhkflm5RIBaSU8s7ImPZSFUrFJmwHIQjn5cDXq1uxE3qKjWpJfLEG36qoQlKVykHYV79Dv1keU7UMUwlm4a28JR8BSVV43GQ1viE9JyiZ2732G7AHSxe57t4YKd4UsZY9S0F3HPtQt2nKgByK5bNrLMlMCvTydOyPSwvfRQy0IKl3tPN4mczCwakJ1D1jdSH6ab6bimXuf59bLbHWoN2rYRBS4AUtMUlK78YjdIOGvl83CrnmHBXLkgbKHNd88MS9N0TnYDP3jjg7zSAnqlnOQHUeZDJ8iQ5F1+SBgYA2prIKKVvvHBAIakOAyuaGWJPsTpw8yOVjw2bYFDEXpUpdesVFhv/CsImfmVat34gwmoEBM+f+IwBrUcKCgfRn0fMFIYNJY/S31fqw+dd//2OGrofDsi7KIoetv32U0TIGO9W/TNKf4SWr79kA01ak5a0WLv4NbdKx1ff/BqLTvhZO9wKRG3d0j0YpCcu2fxMCJYZWgnsE6oIOD;4:Oa4WUDWjnk5p4Huymu25IDUx2qUYpR4l2s3+i2IVguNFLQwZTo887quLm4rfzj5h4FuJiItWyk9qtlEf8EOW4jZVr2/+ATLg5OilG29D+YJWH9OOb3hGLw7R8puQSJe1UIdC+pzHuR5K3Y9+T+7nwavkfmDN1hY3LsBtyJNrZUKebjdA/4mziWEsow/jFmaoBsLyjSFaMnnLHRdL0G7cokA5B1FRRz1C/X+5MMnRo3CAnY5YZipj/a61hc6rTBBCLb2trGg3CZDvY8vDcqExgcSjrnYiPbOTAUNP468VpqzgmBLgo3WAAGpMQdNrAYIq X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231020)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR1201MB2470;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR1201MB2470; X-Forefront-PRVS: 047999FF16 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(39860400002)(376002)(346002)(189002)(377424004)(51914003)(24454002)(199003)(83506002)(478600001)(33646002)(65826007)(2950100002)(229853002)(68736007)(90366009)(6486002)(23676003)(2906002)(97736004)(230700001)(77096006)(16576012)(106356001)(105586002)(189998001)(72206003)(36756003)(31696002)(5660300001)(50466002)(316002)(86362001)(81156014)(25786009)(305945005)(53546010)(8936002)(64126003)(101416001)(4326008)(31686004)(8676002)(54356999)(50986999)(16526018)(81166006)(76176999)(7736002)(54906003)(110136005)(58126008)(6116002)(66066001)(6666003)(65806001)(3846002)(6246003)(47776003)(53936002)(65956001)(6636002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR1201MB2470;H:[172.29.156.70];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?MTtDWTRQUjEyMDFNQjI0NzA7MjM6SDRDYjVaY3dEQzRDKytTd3EzNTVXOTRR?= =?utf-8?B?WkRQWXo4cUY2NEt6dGtmY2QvL1FDYUp1R29qS1BRQXJId0t3dWtFL2F1dlFt?= =?utf-8?B?TDZlcVQ3S1MrSHZrRGtGbkNnRjZPdE5icnBELzFjdTg4amNpZWtreFk2UWdz?= =?utf-8?B?NWhteU9ObnpmVldxQ2pMR2FVOHVVWmFYV3VxaGt0NGVZM3E0blBsL3ByWmFm?= =?utf-8?B?akdBOWZSYVU0eXdjdVpzbTBoc1p6VmJvVVJkRk5Qem84Tk1nd3hMSk1ncy9M?= =?utf-8?B?SkwyRGF3TU4rNTBwZW5oY215MkUySkoxL3NtamllY3EyelNCTm81VEdHeGpF?= =?utf-8?B?L1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7MUgCEqwFVhbIabx8/VF7bygM7W8e5Vm1U X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2017 14:02:35.4436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5c8b0612-3b38-49f0-c10f-08d521fa5f29 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB2470 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-11-02 07:26 AM, Arnd Bergmann wrote: > gcc warns about an ambiguous integer calculation: > > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function 'calculate_bandwidth': > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:534:5: error: this decimal constant is unsigned only in ISO C90 [-Werror] > data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875, 100000000), bw_int_to_fixed(3)), bw_ceil2(data->source_width_in_lb, bw_int_to_fixed(8))), bw_int_to_fixed(48)); > ^~~~ > > Marking the constant as explicitly unsigned makes it work fine everywhere > without warnings. > > Signed-off-by: Arnd Bergmann Thanks for these fixes. Series is Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c > index 15cbfc400633..4f8a95368ffc 100644 > --- a/drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c > +++ b/drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c > @@ -531,7 +531,7 @@ static void calculate_bandwidth( > } > switch (data->lb_bpc[i]) { > case 8: > - data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875, 100000000), bw_int_to_fixed(3)), bw_ceil2(data->source_width_in_lb, bw_int_to_fixed(8))), bw_int_to_fixed(48)); > + data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_fixed(3)), bw_ceil2(data->source_width_in_lb, bw_int_to_fixed(8))), bw_int_to_fixed(48)); > break; > case 10: > data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed(3)), bw_ceil2(data->source_width_in_lb, bw_int_to_fixed(8))), bw_int_to_fixed(48)); > From 1582953543541399009@xxx Thu Nov 02 11:28:58 +0000 2017 X-GM-THRID: 1582953543541399009 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread