Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8362778imu; Thu, 15 Nov 2018 10:18:11 -0800 (PST) X-Google-Smtp-Source: AJdET5cak01fm6MBx0JUvcoh9qmNS4q27lu1kQjEkGLBjQV6cvRBT1VNMP2xYltTHrD3YdtQz3MD X-Received: by 2002:a63:b30f:: with SMTP id i15mr6842320pgf.240.1542305891371; Thu, 15 Nov 2018 10:18:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542305891; cv=none; d=google.com; s=arc-20160816; b=lZlrIX4cOPD08gTvXBkgodUkyK6xIlux16uZevsTfI8ktSaGixHqaL2CtGkR5Spcyl 3o3aIVCXzC5D81C1gaHQzFMsF1mUGcVrxk7YadVG54fSYmk1tHBQeFlnwhXer6aTture 6JeJcNXCPwHAA0NSX0+6Mkr2GcNq3zzgPRkPEksvZKhmJ2nyJr0UkK+m492ld0SkinfN 2PJaSSUh7ewv/0Kj7DVbaN0E4Mxzw9ac0WIGdqpuF/yIc4O0WC7Ub0flic/zPwSjf8WO SscisqFFQyO/LKcADP0WGpRlj7RZUnL/9BTvNKs9ys6iJVzyYkh7DlGtPldQiCXRdQZk 3Ahg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=db37Pa5OnJlalbC1Xts7cB6LQKlYl4+3RdSS9c6lNEI=; b=bHq9YupjsV+53cGmu3PgEo3dO45lyXeJ7XCbMemV1wiU7r0bwHkHXFtuw4N7dLKVTe KjoPgJ06jtRz4bkxEaUNPwSb3VE2J1srXK2LY3eTKPpXLl1RpYw0POl4WoCAY4zbM2Q+ JeidK8jAy2LV8sp7ZR6Tf1uJcti8BeuRHW6dSmMMl67/pvRXfWaaDQonb+u7ZNo8G8tB 0K9ld4NcujJ4Wd7S33F/mmdRR5ajGnJw+JltvKjojBgnE566DNidynnyRm9jJ73nfV+b Tb/Hsh7CQpi+Xj1kmXeKwldUrh88U5Lrka5Xk9tuWGFvIZViEt94bVjc9UTh5/TAlR2z +EUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bLtWpFaB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14si28644820pgj.20.2018.11.15.10.17.56; Thu, 15 Nov 2018 10:18:11 -0800 (PST) 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=@linaro.org header.s=google header.b=bLtWpFaB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388816AbeKPEYW (ORCPT + 99 others); Thu, 15 Nov 2018 23:24:22 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34855 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388293AbeKPEYW (ORCPT ); Thu, 15 Nov 2018 23:24:22 -0500 Received: by mail-wr1-f68.google.com with SMTP id 96so5352028wrb.2 for ; Thu, 15 Nov 2018 10:15:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=db37Pa5OnJlalbC1Xts7cB6LQKlYl4+3RdSS9c6lNEI=; b=bLtWpFaBpk/wPHspDeG0fIh9AbH2ujlh3EP51D444ZgAzlve+vlGjjxEwDxcaTtAkT rgCXRY+PxxPmOdX+GoEAIA3qb+GIlb/LYP7WV1Xa2Nx8vf84VK9E1mfPts4YMLEfC/mp TN57c/VZ+KENihs+z3dvMsHCpTnfXMO2tHFAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=db37Pa5OnJlalbC1Xts7cB6LQKlYl4+3RdSS9c6lNEI=; b=VJhinaoQoTa+RS/rPHxA1cGx80f4Y4hQJShyUyZgbfFUvqea1yz+8W44t2UIry7Dby n1xQ1pne8yVcVtSqsEO8akS2Gygz3rlQWR/zuDSoSprZusFs6LBU4ROPdjqIk43yQYmv PSP9oxFauVhowlsriPO+Bv6yJ6hDNBFO4URd4TtfUDBfPtVo96Rdq9gf0qot+dY3gUCl nhNuAkI1YP2rCKB3qJpp+E2CWqrnPo0cfHuRQL7cpfXWTGD9IKCpwedZbJYpL+N1FmTs x5lWjjK6vZgK6Pg48NrubD8Izsh6Unxpm8y5geDs5P+pJuwgOGlCkVNpAOtDL8l1T+r7 3XqQ== X-Gm-Message-State: AA+aEWYUuSu3ZDV3QGG8WDYXpL3Hr2dvB+wQ3K57WBojqAMr/oo7eL1R gc94DcCcGCgU0eTiMRU6Wh/LgA== X-Received: by 2002:adf:ecd0:: with SMTP id s16-v6mr1634740wro.208.1542305728442; Thu, 15 Nov 2018 10:15:28 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r76-v6sm20934737wmb.21.2018.11.15.10.15.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Nov 2018 10:15:27 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org, vkoul@kernel.org Cc: alsa-devel@alsa-project.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, bgoswami@codeaurora.org, rohitkr@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.com, devicetree@vger.kernel.org, srini@kernel.org, Srinivas Kandagatla Subject: [PATCH v3 0/5] ASoC: qdsp6: add compress offload support Date: Thu, 15 Nov 2018 18:13:19 +0000 Message-Id: <20181115181324.26784-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support to very basic MP3 playback compress offload support via QDSP ASM module. Tested this patchset on DB410c with APQ8016 and DB820c with APQ8096 using tinycompress library. Adding other codec support should be trivial w.r.t qdsp6 side, however there are other dependencies like compress UAPI header changes and FastRPC which are being worked in parallel. Once ready will post them! thanks, srini Changes since v2 (//lkml.org/lkml/2018/9/26/461): - Removed some unnecessary empty line adds. - Added more info to snd_compr_set_runtime_buffer() commit message Srinivas Kandagatla (5): ALSA: soc-compress: add support to snd_compr_set_runtime_buffer() ALSA: compress: make use of runtime buffer for copy ASoC: q6asm-dai: dt-bindings: Add support to compress dais ASoC: qdsp6: q6asm: add support to MP3 format ASoC: qdsp6: q6asm-dai: Add support to compress offload .../devicetree/bindings/sound/qcom,q6asm.txt | 27 ++ include/sound/compress_driver.h | 19 + sound/core/compress_offload.c | 18 +- sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/qdsp6/q6asm-dai.c | 372 +++++++++++++++++- sound/soc/qcom/qdsp6/q6asm.c | 5 + 6 files changed, 438 insertions(+), 4 deletions(-) -- 2.19.1