Message ID | 50002575-a825-d466-7c78-670ab607ac79@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 D590960247 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Nov 2017 04:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C045629098 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Nov 2017 04:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4A78295DB; Mon, 6 Nov 2017 04:48:08 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, 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 3668C29098 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Nov 2017 04:48:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C3AA96E0C2; Mon, 6 Nov 2017 04:48:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 898 seconds by postgrey-1.35 at gabe; Mon, 06 Nov 2017 04:48:04 UTC Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0050.outbound.protection.outlook.com [104.47.41.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3317B89FF6 for <dri-devel@lists.freedesktop.org>; Mon, 6 Nov 2017 04:48:03 +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=iHWev2f9Hu569nKMXCUyuELIxHZp6aA4MEHFr1vETpg=; b=Z05z0sp5q99X+pCx1MZ9WJj7TNR8nQWAAaSyLSXTJkltEoIhrPnVXOPpr6Q/mBbCicfgwQw67XnJb4FH4XO0MVN/6VC2uSCNt0gANGx5VxcSSjDUJpYI3jGoi7AHRhjcMfaJ25FtWTEBk0fOEja1su5/m6pelgPVsI/YmlVVwJI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Akshu.Agrawal@amd.com; Received: from [10.136.131.217] (202.56.249.162) by BN6PR1201MB0177.namprd12.prod.outlook.com (10.174.115.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Mon, 6 Nov 2017 04:33:01 +0000 Subject: Re: [radeon-alex:sound-for-next-stoney 1/3] acp-pcm-dma.c:undefined reference to `__umoddi3' To: kbuild test robot <fengguang.wu@intel.com>, Vijendar Mukunda <Vijendar.Mukunda@amd.com> References: <201711040921.QkRpMsR8%fengguang.wu@intel.com> From: "Agrawal, Akshu" <Akshu.Agrawal@amd.com> Message-ID: <50002575-a825-d466-7c78-670ab607ac79@amd.com> Date: Mon, 6 Nov 2017 10:02:25 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <201711040921.QkRpMsR8%fengguang.wu@intel.com> Content-Language: en-US X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: MA1PR01CA0113.INDPRD01.PROD.OUTLOOK.COM (10.174.56.157) To BN6PR1201MB0177.namprd12.prod.outlook.com (10.174.115.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cdb658bc-efbd-4f26-e07f-08d524cf7897 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603199); SRVR:BN6PR1201MB0177; X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0177; 3:XqcNVWE7dAY62k5eVdtq5AsKQwxanYyc+dsrbbslhcKQJOp0Lu0O1eb70ZZJi08tHgu3x2O8SwUSJr8qc+xCv9DmlO2LYtGPLkaM+CqBadu7A8ZtW/00k79uQX/9hDRL1EB30TN/HWBk2WrDijnvdNf1woE6uWrmlu0XCFII6FgX8oaU3f+6tuv4tI2h8nR9m2+lm4dxXPUthNxDSveRr2bkbqNITfapb+oMXwdj2eSr8vykBTPqxzKPe/7yr3jP; 25:0XHg/K4X15jvUq/b+mZqRNAGIF3mj9Q4eZFHlIzqSxabHPHubvy+36OgSWIaEUBKi27NpJyfFaZs9yBgbBPC6ibY222AVhivTTCXYr4u4FSLcTdiGRMGGoXimocZLKeSHhk3Hb+7h64lEM3BPRMULbIe25DeC8PyAwJeACKSXB+IxnC2eggUetf+f7h10wdrEMABAC+jk7nzolyCjFD+06XlZI18yfjXGBF/9BQ2fAS6fiUrsTfthI8D7Mbbn3y2oXNzosrofCkeo5QRbLmyTdWTVfYdXYDB+4WjT7tniYQ+U2e9Hc6QeorT58gB8+/bVN+8ICSHktVgWliCSDAtDA==; 31:Va/v+ntg5b2e9mdHkB+UcWl5qLgslwNXbid2LeusZ1Z+YXPyU3ErNMvn4OPhh67qctog+haUyL5i4z+BbFCX2OLZDqXXTl9PJo3xyIBOWa4UW4rDuVNVsXozzKVqaGD+XLv9PxZcr35xCn23FLBxRpq2y+646S8iLbJber0QSi9jpe2u8uGe69X0iZoA23DyJEolEUPQ45iwdmT8YYwZHpYLHsxkBGLYS9SL1DdRQoU= X-MS-TrafficTypeDiagnostic: BN6PR1201MB0177: X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0177; 20:D9MsmL2CN+p4HRyIfmHJS6vqyD+7g0Su2X1CG1IBtSJk4pcBJOV9j5z3g802HZ3OWPn5hAd0VPQDYa56MVgHcd4RqgMvf+Zum+TKG1+rkWyTxXEp7L2cnNugljpnqJjIgiFeXaihmYHvf6D79lu+NXtT1g+YHp4r9FBhfmoBc4NWpmour72ITzA80IJamIh4+aOSpx3r5cDIMD8Ddv9P02bffbLW41O3iiG3LnaBMrKDVmN/jNGsaLX94eMkQeninT9CaVHSUTlutWDmtFhDmB+74Fj0FuC3W8Rf7QAzCJrLFF784bLdQVFjVeW9mAFHFSpPiA9ZMmJZx6f5bSzSVR7mgqceg4kLBJehLxvHNbKR3EQmY066xN5B1iD1gSyVdrEaK5BJbZxyI1QsDf0r6cDTYgC1tjKeeENnOtZ/vf3fslomyxay+gItCuJlK0DvTrVbKiSu/aQyNaJRgEZOv8mgQUx0a+jA5NpU/RR8H1uOOgGgW9tgEYAs324IqUEk; 4:X8mSV24TQnTQkP2NEB3lOqDh5JOWla1cYmWhglMKXP18Fi6/GOK6iKAdPa3zdhU3PrhNEUBwX0+xiQ7djEFhPl/ryHGr0iUiuPivedpBS2Nx9uMn6P1KRqJMm+p+tC910KFCmgyVtvKK0/Id/rgkMb71MNU8tqm9gBUf4OlKp+jcrWPntJF8VpNfLrfDsikSN0T/BWeUsiSnBpZtLd0/zKTJ/mQ6CUcIzpwsV68KcZefM8Udq8PVNya6OgZrAt96HxMNb8HA25KYtIicOorCM6bAZ0SlMvGlkqpymwaERAf/8lXmvUvn8dQWke2uG6Sc X-Exchange-Antispam-Report-Test: UriScan:(162533806227266); X-Microsoft-Antispam-PRVS: <BN6PR1201MB01773ACCCE210717FAE9C148F8500@BN6PR1201MB0177.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3231021)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR1201MB0177; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR1201MB0177; X-Forefront-PRVS: 048396AFA0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(6009001)(376002)(39860400002)(346002)(199003)(189002)(24454002)(23746002)(54356999)(229853002)(33646002)(76176999)(16526018)(305945005)(90366009)(50466002)(575784001)(86362001)(966005)(3846002)(77096006)(31696002)(7736002)(68736007)(230700001)(36756003)(478600001)(6486002)(230783001)(6116002)(50986999)(72206003)(53546010)(101416001)(64126003)(105586002)(65806001)(65956001)(31686004)(6246003)(66066001)(6306002)(58126008)(4326008)(97736004)(8936002)(54906003)(110136005)(2950100002)(47776003)(316002)(6636002)(81156014)(5660300001)(189998001)(81166006)(65826007)(8676002)(53936002)(67846002)(16576012)(83506002)(6666003)(25786009)(3260700006)(106356001)(2906002)(5890100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1201MB0177; H:[10.136.131.217]; 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: =?Windows-1252?Q?1; BN6PR1201MB0177; 23:WH+sWFncqSLaXyYta0UuUxGcXTKk5JGDx45?= =?Windows-1252?Q?VaUqZ2F651sOIpaH6RM8fWxQB2tO9FMmIOlse73cfeUs45+X/rGJ+j2n?= =?Windows-1252?Q?QJpH+8mQJJXR9pG+oHnIzx+qDFF583E46MNRn0UuxvPCx+pii2rxZaPj?= =?Windows-1252?Q?HK0eyvKfS3WEOMiSbc0fV8Aw7jarLmr/FSZaqYqRcX7gov+emkGz+pCT?= =?Windows-1252?Q?5zQUvJpuyfVAkXh83xDZFnL7Z1Nb/hzOLfEoA7BeY9pVZ5gF5sqYthUg?= =?Windows-1252?Q?ViZWBIR5s+hm0MB80+0LxsHnnLKXSTOGvuaxQQ/yHDLQhTjh/pXukayE?= =?Windows-1252?Q?4htT7pYkB/feMqHXk8HMG+/TzuyxCUQVTr38cgnqXQn2pdDhk/hB/7M7?= =?Windows-1252?Q?IflGKhzb++h+oKzT8VHVG4VzzRCexHL6vv1C9GCpoMsPAMYqNArm9xz8?= =?Windows-1252?Q?4lpPgDcHuhn7TNYav/2exjlV+cptIGACZFJZ1Turb34iw9w1hKFKvUI5?= =?Windows-1252?Q?UovvY1ZFpXiptI3GiK5fBJQkCfOF3SHAZg1E5O0uFzavZldNSOs/53pU?= =?Windows-1252?Q?FuBYFv6UTsxO1vvms3sYGH+6yzvRzMYHhQRg4nLt0M5nAvBf73Z9ggLt?= =?Windows-1252?Q?Lt1nCWNnziZBf0P1MXxAYS4PYJF3s9eIhJfrEqNFPTrygo2r72zsd1Iv?= =?Windows-1252?Q?kspjRNoeOBvp4LK9VqJSUbyfJ64ZURLtOlg028b6RXK6Y5KQrUsH+aHU?= =?Windows-1252?Q?V6qe10bqt5iXT3pwcsdjglTHpXO/TO1MDndkw5en27k1q60x+/zv2Pg3?= =?Windows-1252?Q?8M/5khSLXGEcvSfaK51JaC6gQrzsjm6hoPsZMow2RbTBXvTMaFb2P3zS?= =?Windows-1252?Q?aMJL4j1khlQRqetvWne6bP3qYFFSJ3DO1sZGX2QbkpUaB/QiFkSvB6te?= =?Windows-1252?Q?keCc5IqLZwoyJ852fU4kcUtWuEmIBwxqwyXBTfJR/NEUqKdgQXaIVWtJ?= =?Windows-1252?Q?4GPqdTn3bUAQtl2Qj2Cc/S/AycTGA2XQ/hidHeftW3iSDd/+vmSzpa8l?= =?Windows-1252?Q?VhZVw/emAUJdgNmoVuv/sAKgjov+seEhhVAi3SPF2x3zERzJTpgo0Vdo?= =?Windows-1252?Q?KsKJOuKTTISBvOY7ns+J8bzJcje2ykM0KFsJdyiMv+ITUK3u02eJI7dT?= =?Windows-1252?Q?DH7TgGCsVQiUa/a5L6afEYFb8l4v2D2oUkwIjdGn/JxZr206qUCeFbRN?= =?Windows-1252?Q?KnMLidRU59dZqNoxi1TV6tv3aX876txTLEryN/qP9z13LGmHEHTI3zI+?= =?Windows-1252?Q?kdugXADLdZ1gHd56IHFHKym9xd2gWz9mK+86jaXofSbqAKCozk1qwl4z?= =?Windows-1252?Q?fsSF1NJONutaHyTCBkFs9MNGhcpLtFVYPifqrfHCC+ZKGwuYWX6ztS/8?= =?Windows-1252?Q?3dT1J7rPJOXHQEt6vdsjMtjV0VmibYume8ew0Xf6HIqo7b7PHS6N192z?= =?Windows-1252?Q?pUp4cUkFRMMyBEX7i9WYSTzTRPuV9m74Upcczz2PJA+uTinY2+UMZWCq?= =?Windows-1252?Q?F8xbZS3uHNCedTU62Cn0IvHZTeilKaaKECAjbGWcpHFs+4zZ+r91QD4Q?= =?Windows-1252?Q?R6exyWd6k0J8UqebXBKYUC/EoiFz86KoMXs2Hf4LUE79nPpjf+jtH1FY?= =?Windows-1252?Q?WNMT13ypvnLO60HE02zCmhau7v8ajfjE=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0177; 6:ZIt9AuKlwLPF2bkQTOz9CRc6kbs32U/4QubsVqjTY3kjgVCrXyasyoZRDU5qhhvSDo69X1eWFuncutDl8Io0sV1K0aPqHYFYoowkBGYHqIHIdAnO0md5pu+j9RTmp+If+nGKVwN3a5FR8rsUqdA2V+pzMma/zIIC86/BzocL4fDSND+rkcn9Seob73P5BG91Y9wJfGj4tdmM3KNj1Nj0rgQ2MsM5kzMse0zccaF6MoNrU/y/tPnbLiDkWNzetYPEuFGzLHZEjrwPxRw9RShr5YcDsNcKrJPMfKrMAWElrK2UAZQMtAGLRiAQUGp1HxkbSy0bf+oqQ9q4g6gNUiVAchH/ipjI7njVALPckGDXNYk=; 5:9Kq6Ix0hEg0yQJV4WR/ssC2RSdL9YwnRHTqmCPJq0Gj0tlqy6DNVXD12J/Aw+oW3mk8n84RfCT16yJDTcc6iRwYQNqRGigN/q/U3J50pntZzm1i94ikQJn5GBW3/xds1xAhOasODkcDkPbVKvE8tSJ2ocjbmQPCWlcwKSdZGQfs=; 24:P8qwnoxANA0v9JgU/Qn9A6tIjTT3F6D7piGLUrqdywzn31U+Qx38CYUQnIrdT2RA+3ybNEbzWdvqBkse8bgRAE9nHt/IYpuWyzXRQOb19H0=; 7:U9HSyBMkD3Iw6r3cUfFEh5Ljub3qI9fyZwv+3S3o9k5V04wWjuX8UJeG07kh8EIF538644Ncr6eOu63/q5YaIxDmmo81EIy7xBjKtHp2I/VvtQoDjBpZj7zzzB1iP/1joCg1YaloKWhYwgvnmPg0mvvm9mnxEI/GUGl9UO2nYa65zcmwfj/RiCiY+4CtzNM31rsSPeH7XvEx+eof64PNWoQZ62AEW5LJFkfloDok/vBaG/rCYVYWyTdLuV5mdiTa SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0177; 20:uoOx92xCE2iIiNQQZFWlDbHDxAWlkEtf3Ag6LEo9AWSN4AU43Wwzl90d7TGbYq4VSDz7N2976OfjXzdC6OW8TCOPm0cyFE/WBd6/vm9EHHjF4gWwgyY8HVcgYGPNIFcQxvKOfPqYCZhj6fD2K0KbMyFB4K9Bh/TIMb7MgFfWaiRdXwGzuceNeS34dukqnQcdL2XgYNegHXVZj8ZaWzqsfv0g18bQXXfzYsX39ZPEyyx/F4SWmFUb1Bn1qAYyH3sP X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2017 04:33:01.9873 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cdb658bc-efbd-4f26-e07f-08d524cf7897 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0177 Cc: Alex Deucher <alexander.deucher@amd.com>, Jason Clinton <jclinton@chromium.org>, kbuild-all@01.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 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> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" 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/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c index 13d040a4d26f..ef7e98ad960c 100644 --- a/sound/soc/amd/acp-pcm-dma.c +++ b/sound/soc/amd/acp-pcm-dma.c @@ -856,12 +856,11 @@ static snd_pcm_uframes_t acp_dma_pointer(struct snd_pcm_substream *substream) if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { if (bytescount > rtd->renderbytescount) bytescount = bytescount - rtd->renderbytescount; - pos = bytescount % buffersize; } else { if (bytescount > rtd->capturebytescount) bytescount = bytescount - rtd->capturebytescount; - pos = bytescount % buffersize; } + pos = do_div(bytescount, buffersize); return bytes_to_frames(runtime, pos); }