From patchwork Mon Mar 12 06:34:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mukunda,Vijendar" X-Patchwork-Id: 10275501 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 EE40B60211 for ; Mon, 12 Mar 2018 06:33:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE09928AC6 for ; Mon, 12 Mar 2018 06:33:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2E0028ACB; Mon, 12 Mar 2018 06:33:39 +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=-1.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B48E28AC6 for ; Mon, 12 Mar 2018 06:33:38 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6E506267328; Mon, 12 Mar 2018 07:33:37 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9314D267388; Mon, 12 Mar 2018 07:33:34 +0100 (CET) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0052.outbound.protection.outlook.com [104.47.33.52]) by alsa0.perex.cz (Postfix) with ESMTP id 741E7266E77 for ; Mon, 12 Mar 2018 07:33:32 +0100 (CET) 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=hEvDUlAwQmSapkmkvuPtnw2SW1DnpR0lKlFwyfCMpX0=; b=4HytJ86cqOsAjwd8rKKKVvyI2NDOYRgvsTHCw0O7McUBKAXJC/hIzBIaLGcUzsRNSRuzaBifOQh+dA1foAVMujqGV8lwuRrTeCKTDNxyx4ZhHjZpg3Jo/L1r9End8bdYc3YRgQWI7nTe+tN060P0AaUpABp5cOz3rTgtiAorTMA= Received: from CY1PR12CA0044.namprd12.prod.outlook.com (2a01:111:e400:c42b::12) by DM5PR1201MB2552.namprd12.prod.outlook.com (2603:10b6:3:eb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Mon, 12 Mar 2018 06:33:29 +0000 Received: from CO1NAM03FT015.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::205) by CY1PR12CA0044.outlook.office365.com (2a01:111:e400:c42b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.567.12 via Frontend Transport; Mon, 12 Mar 2018 06:33:29 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; gmail.com; dkim=none (message not signed) header.d=none; gmail.com; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by CO1NAM03FT015.mail.protection.outlook.com (10.152.80.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.18 via Frontend Transport; Mon, 12 Mar 2018 06:33:29 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.382.0; Mon, 12 Mar 2018 01:33:27 -0500 From: Vijendar Mukunda To: , , Date: Mon, 12 Mar 2018 12:04:17 +0530 Message-ID: <1520836460-21809-5-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520836460-21809-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1520836460-21809-1-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(396003)(39380400002)(376002)(39860400002)(2980300002)(428003)(199004)(189003)(72206003)(2201001)(53416004)(86362001)(68736007)(47776003)(104016004)(4326008)(2906002)(50466002)(5660300001)(106466001)(53936002)(478600001)(76176011)(26005)(8676002)(16586007)(356003)(186003)(81166006)(81156014)(77096007)(316002)(305945005)(36756003)(7696005)(6666003)(110136005)(8936002)(54906003)(105586002)(336012)(39060400002)(51416003)(2950100002)(97736004)(48376002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB2552; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT015; 1:/9zVXwn3N+M31kLSm6wbF2h77KeAWhudS5b/VZcJVeDZVgiEu+FSzDwl4VSUXX0cXLjAu8720dJuD2fhkww25dEy8WyBeqM/9xc5KL2j4OuVvTcMpQTpVK69UiYJMRUs X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb685a84-b1cd-4329-1e8e-08d587e32b24 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM5PR1201MB2552; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB2552; 3:8e35u6gTzW5Y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efp89sMKqoZCRIo+AXrVmVtDkxfi87a4Ph1UB7vkNI9Lmb1s4ae2iopoGfxA84xrBeXYhj/tG2W7a0zUr0Puj+1AHMh7uaF8z0IFY+pdpp6d8xhyO22yk6dSyXC5lNlrfGb6eFt98f1V9tqsyj9AqtJb4TCFqXQTWk2BeVSOpfGSlY2Pd6ocIvKJuTdqoSh9ss0KMgAHlt5GtUEUcVsxz92zw9OeSkQvZDwpKrHRGoMfneSHjjHWWXCHdTrsRnrqs2ncl3yqDd2xajeQqkEElEKqqEUXZ3aziayhIqgTEHoFCDRnOJoWBCoVBLXNceQAYTqmGVCj1U23kHUNs3QTCnQ8SMxjuPYjCDTYaSWTowAy76pbgyYKNRM+hOUJHrehKTEyC3imuQafSdCoRZU4NaRwDJgXicT8tsOEjV1g1jUGZbMVfk9ocBGsMMwKgMBTnt4/G7VG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93003095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DM5PR1201MB2552; BCL:0; PCL:0; RULEID:; SRVR:DM5PR1201MB2552; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB2552; 4:k2O0ySIEmSBHDerQL+i/VFNltiKex2zL2HxK13pe19jgmU3/capZ7ey9K//yEfM09Yh/ATt+qkfCicBaHcmDaT5vxGM5rkOaav6rgx2VSZmlKxQazgEMMVOftfR/q5Gm2T5uFb7YCsaz2Yr/O4mMVuwjf3cSql2Jqob8dtDDP/pZc1AQpcppco64weFmkogjDvkCd0FvTz31zakf5MYwqKSxDHkmGUbWp8NmSTD/kB23393hFxIGFZn0z72uK7Bz6YYqpZC1Jw5FooehxrwZDGOiJPmeAD8EeAu/pZQZpMVEFV7p+gmXOYQiAZ7WXHEq X-Forefront-PRVS: 06098A2863 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR1201MB2552; 23:YKKSkDSGce6gsxIHfzavcD//86AReuIpiz5XQ92?= =?us-ascii?Q?+w1acl3xA+mI4H6RfJxGC2zVrGjGbJOoM25x0SVsWkB5GcFjNr0jIsRp4iMr?= =?us-ascii?Q?6s1pX9lF4R5YhngXChNLAiubcf86mW4sZa9+kvbpmlmSBvRQCYph45xX84c+?= =?us-ascii?Q?GUR/dMFK6dC/yVJ5bTeFxES1YwM4NZuhVutI0469t/+8i5+qjukttWmfGTRd?= =?us-ascii?Q?aB8HGwxycInhMH9gZlFbsGTeqPiMxJ7KIWi4RPaWZhevj5pwpuKJUyor5yqt?= =?us-ascii?Q?ArPXOL0hBmGUxsCTwj1nhGsIE+c7X2D94wV88fMbszUNvLHIhcJYYMEUcZe9?= =?us-ascii?Q?AXPPQH/XcMrNarTWzfVGFbERJJroMguX/DeBRYAU9gBBQS8xUrOOgUioQ0ch?= =?us-ascii?Q?kJHEYJYyLY1D4HbQ0WNItWGFctvtDIMxnwazxfQQS6XQaY8RkUCjvnHVPYn7?= =?us-ascii?Q?iK5qkvW6hv4inB6qKb8ksaMPG7rmc8zfRVCNi4/3ukQnCcBNLag4txGU0O3Z?= =?us-ascii?Q?eUHn54hH55Bmrp2MhPgXveiaQCHZ79VUWgpXXnf40+SBl4NlmFS8ZKU0b0hs?= =?us-ascii?Q?+Zd25QlhvHixgQP5w4XVcZO52xcLOjswVP9N6wcbEYCN/9iGUI6u0Hth52mj?= =?us-ascii?Q?a1cf2UZFMNVEoShnNOjZYV/6R1fM/HhgDkayb5P57tZLTI4gB8L6WNvMhY7M?= =?us-ascii?Q?eaas5NroQwaC0P7LX0RXZLrhl+k1WuFOsEFc6aIo3/nsgh+9Qz/BTZCSWC7Z?= =?us-ascii?Q?S0mUC3w84c/klrnIyZRubm7v/eRKuLaz4t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Nc2Qeer3Sa+IdUyzpNt5jeICtgUZuoGRqVj+UdBFnrVrNusLzabUUymxB0xIggRRvRacTMlumx5AUxIz5C/sP9rWdfm9oIyO4Lns0R92e1EFKa3bo8apTbqwDUBjrxbDBugmi5+U+zZIu/mFBo=; 24:/AgPD5RgDccN6HYHJDVEUBt3KeMK/VeLR1DlPcz3ll13Gh6XYx21uRplCUf6zhy0SOE09KiJFf4o7D2L5vd2FnDzraIxs75K7oHU9Zfi49s=; 7:HFotw29OmBbA3mNV3Uig6WvVLs8gPkELMP/oaZ8TqaRnzc9j22byMPuuJM9sIS8ycoc0vFbtkk6q79aiUL9tupM0d2jSL7Dt2HiwoKCfhEvwH0krbb8Kc5bTGailxTZDqBPPAF74vULeLfQtNcg27q1qcdkvWIqF+RYoVFIyjcT9g+bVUDX7fRAIPOVxz/hg+G5DPj4LV3nLw9jEhOd5m2SFKRSADrpxaBXMtEr0ehiPbjXRq1JL7SAk6eumR486 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB2552; 20:vwvQyggOxYWrpsNogwzMFZh6B1hTPSAbCshaxYbkJP8P/SaHNcpbq3vWHb1ZS5zKxDCLgLchNjSwnU5JjkrOcAsKeq6elKF9tk2ycchPihGtaYg5JMEDDYALhMrlLoWyV+zhJMbMJtZM6FPxsF+v6hAHj6jW2wZ6LSUnCL4vg0Tr6v/TarJuStabrQZdNFsZM52IDuCJrAAHl4/cd0+eTG3d8xETJb4RWDLkYouqm4WZ76yUkBGGZyaJvcKHlAKE X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 06:33:29.0937 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb685a84-b1cd-4329-1e8e-08d587e32b24 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2552 Cc: tiwai@suse.de, Alexander.Deucher@amd.com, lgirdwood@gmail.com, Vijendar Mukunda Subject: [alsa-devel] [PATCH 4/7] ASoC: amd: prepare callback modifications for bt i2s instance X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP modified prepare callback for configuring dma channels for BT instance. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 53 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c index 8660f36..2b6c9ad 100644 --- a/sound/soc/amd/acp-pcm-dma.c +++ b/sound/soc/amd/acp-pcm-dma.c @@ -1014,25 +1014,54 @@ static int acp_dma_mmap(struct snd_pcm_substream *substream, static int acp_dma_prepare(struct snd_pcm_substream *substream) { + u16 start_dscr_idx; struct snd_pcm_runtime *runtime = substream->runtime; struct audio_substream_data *rtd = runtime->private_data; if (!rtd) return -EINVAL; if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { - config_acp_dma_channel(rtd->acp_mmio, SYSRAM_TO_ACP_CH_NUM, - PLAYBACK_START_DMA_DESCR_CH12, - NUM_DSCRS_PER_CHANNEL, 0); - config_acp_dma_channel(rtd->acp_mmio, ACP_TO_I2S_DMA_CH_NUM, - PLAYBACK_START_DMA_DESCR_CH13, - NUM_DSCRS_PER_CHANNEL, 0); + switch (rtd->i2s_play_instance) { + case I2S_BT_INSTANCE: + start_dscr_idx = PLAYBACK_START_DMA_DESCR_CH8; + config_acp_dma_channel(rtd->acp_mmio, SYSRAM_TO_ACP_BT_INSTANCE_CH_NUM, + start_dscr_idx, + NUM_DSCRS_PER_CHANNEL, 0); + config_acp_dma_channel(rtd->acp_mmio, ACP_TO_I2S_DMA_BT_INSTANCE_CH_NUM, + start_dscr_idx + 2, + NUM_DSCRS_PER_CHANNEL, 0); + break; + case I2S_SP_INSTANCE: + default: + start_dscr_idx = PLAYBACK_START_DMA_DESCR_CH12; + config_acp_dma_channel(rtd->acp_mmio, SYSRAM_TO_ACP_CH_NUM, + start_dscr_idx, + NUM_DSCRS_PER_CHANNEL, 0); + config_acp_dma_channel(rtd->acp_mmio, ACP_TO_I2S_DMA_CH_NUM, + start_dscr_idx + 2, + NUM_DSCRS_PER_CHANNEL, 0); + } } else { - config_acp_dma_channel(rtd->acp_mmio, ACP_TO_SYSRAM_CH_NUM, - CAPTURE_START_DMA_DESCR_CH14, - NUM_DSCRS_PER_CHANNEL, 0); - config_acp_dma_channel(rtd->acp_mmio, I2S_TO_ACP_DMA_CH_NUM, - CAPTURE_START_DMA_DESCR_CH15, - NUM_DSCRS_PER_CHANNEL, 0); + switch (rtd->i2s_capture_instance) { + case I2S_BT_INSTANCE: + start_dscr_idx = CAPTURE_START_DMA_DESCR_CH10; + config_acp_dma_channel(rtd->acp_mmio, ACP_TO_SYSRAM_BT_INSTANCE_CH_NUM, + start_dscr_idx, + NUM_DSCRS_PER_CHANNEL, 0); + config_acp_dma_channel(rtd->acp_mmio, I2S_TO_ACP_DMA_BT_INSTANCE_CH_NUM, + start_dscr_idx + 2, + NUM_DSCRS_PER_CHANNEL, 0); + break; + case I2S_SP_INSTANCE: + default: + start_dscr_idx = CAPTURE_START_DMA_DESCR_CH14; + config_acp_dma_channel(rtd->acp_mmio, ACP_TO_SYSRAM_CH_NUM, + start_dscr_idx, + NUM_DSCRS_PER_CHANNEL, 0); + config_acp_dma_channel(rtd->acp_mmio, I2S_TO_ACP_DMA_CH_NUM, + start_dscr_idx + 2, + NUM_DSCRS_PER_CHANNEL, 0); + } } return 0; }