Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp250643rdh; Mon, 18 Dec 2023 19:07:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IELWqG7ZX2DaQXe1kx9apK6Xpmttd+0Oz5Banm9uXIJyX8T8gQWcUEX6otW/fV93Bu0QxYd X-Received: by 2002:a17:906:3385:b0:a23:2e9e:1f7c with SMTP id v5-20020a170906338500b00a232e9e1f7cmr2317506eja.122.1702955274406; Mon, 18 Dec 2023 19:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702955274; cv=none; d=google.com; s=arc-20160816; b=F86u2wFn2TAppbaBszEQHhjNuBbGB8GtWnKlMPHUYkD5Ar+baJ+c3nJ8h2OW4INIAD 9JFRz3FUstlGhKxIdpTTqjZHCqBsVqlpkEBdzkXqn0aLibqW2rz+Yx0SRQzy2BBxu4G4 sCoYZKtM76gEw2iuXB9WarSI3VciMc0Ts80u54JVk7IJNTnJfe6oBWu6KnXsJ6YQXCCl NKgGzxu/PD3IQCRInjUl1zPqAJGMfCdyO4mUmzu6AzZetR91fB10XJVEoyIJ/gbX+KKY WZf5mHBTce4KAQO88pqbiCAzMGDYt3EhtF7zoAa7CJd5HwTm7qFWVhnzqcH1edLk4V26 I55w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ugqBaRJe8h/X1YmsvS5WQ5BEFMbUJepwKjqnP3aRxTw=; fh=h70dJO8c/kQzBx5G08DNBGLpC0OGfeXZuzZObLFqbr4=; b=fGnYIRxqYGhRX7JxjzP6hxSHeiyyiV5cMe0IniU16Dm6HJ6dBHP5lC0PCNC94CdKtf kesD4kst/MQqZ6euCZIYnAiDG/H5KtXJRvCilhtVND8z8lxtNAaT5xC2q1AjRkLBnEqw uz7xglZbF86T7HSH/R0c1U4IZvvi8iIQFxDL7Q+qug28/zF6YMTxIN6UyfaEI68+PRuL PeqggeW65wzzZsr/Ni8OeQYeFz9W+pXHFh69zI+efSlrLA0pXNBc5Dl4TI5jKwezkLwu geUwa+e55f0m8hxJh/f6aGrFNy8cVxvE/fqBz5NVjm2TDV9jMZHdc2yQwVBzsuLrWFkI M1QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e+EXejdf; spf=pass (google.com: domain of linux-kernel+bounces-4622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h23-20020a17090619d700b00a2352d34076si1601308ejd.470.2023.12.18.19.07.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 19:07:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e+EXejdf; spf=pass (google.com: domain of linux-kernel+bounces-4622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 29FC11F24208 for ; Tue, 19 Dec 2023 03:07:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7127446AA; Tue, 19 Dec 2023 03:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="e+EXejdf" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1179E8460; Tue, 19 Dec 2023 03:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1702955261; bh=eAOckwuowQJQnjs/A4Z6ZYNvsznDRiqHV8PeUEbxstI=; h=From:To:Cc:Subject:Date:From; b=e+EXejdfIbiDQRJ9/4gMcQL9y2Jg7RG9sYINKaUOpQfe5J6IK1/cXV8dBdhBQRsFw yvDfgvCmgRj42+d/YZTqkP1pBu1lyRoortu93onrevbTBL9xsF7ft0DGvSoPcp/AlY UR3AHz7G4uivyo1zGKIY77B1U1zuNRNvEJ9/tQg2A4W02n1k3frsLdfwfbezvwJUaq wGZNxGXt2XqgsRjcPhIKc/C64VKHuWSIfbzJzvbkJwcf0bxKgHL6R2fZ4vfkwyBZTR tE7JIoqmRqQS4iCoZVqdlwwnzbc5k7s14dZpdXNFBkXBEuqlxVSWN0sJtjuZyvPiaN FPgpYxZhXH/8w== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id CD1793781476; Tue, 19 Dec 2023 03:07:40 +0000 (UTC) From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Daniel Baluta , Kai Vehmanen , Venkata Prasad Potturu , Emil Velikov , Syed Saba Kareem , Kuninori Morimoto , Alper Nebi Yasak , Vijendar Mukunda , V sujith kumar Reddy , Mastan Katragadda , Ajit Kumar Pandey Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, sound-open-firmware@alsa-project.org, kernel@collabora.com Subject: [PATCH v2 0/8] Improve SOF support for Steam Deck OLED Date: Tue, 19 Dec 2023 05:07:18 +0200 Message-ID: <20231219030728.2431640-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch series is a continuation of [1] to provide several fixes and improvements to the SOF drivers targeting the Vangogh platform, as found on Valve's Steam Deck OLED. The previous series only handled the legacy ACP drivers. Also note that, since v2, this patch series requires an updated SOF topology to provide a correct DAI link ID for the BT codec. The binary file should be located under: /usr/lib/firmware/amd/sof-tplg/sof-vangogh-nau8821-max.tplg Alternatively, as a temporary workaround, patch [2] can be used to adapt the driver to the broken topology. Another requirement to get this functional is patch [3] from v1, which has been dropped from the series to be upstreamed via the SOF development workflow. [1]: https://lore.kernel.org/all/20231209203229.878730-1-cristian.ciocaltea@collabora.com/ [2]: https://lore.kernel.org/all/20231209205351.880797-11-cristian.ciocaltea@collabora.com/ [3]: https://lore.kernel.org/all/20231209205351.880797-12-cristian.ciocaltea@collabora.com/ Changes in v2: - Updated commit message in PATCH 3 according to Emil's review - Reworked PATCH 7 according to Péter's suggestion and dropped PATCH 8 which is obsolete now - Dropped incorrect PATCH 10/11, according to Venkata the fw is broken and requires update - Dropped PATCH 11/11 which is handled via the SOF workflow - Added R-b from Emil too all remaining patches, except the reworked one - Rebased series onto next-20231218 - v1: https://lore.kernel.org/all/20231209205351.880797-1-cristian.ciocaltea@collabora.com/ Cristian Ciocaltea (8): ASoC: amd: acp: Drop redundant initialization of machine driver data ASoC: amd: acp: Make use of existing *_CODEC_DAI macros ASoC: amd: acp: Add missing error handling in sof-mach ASoC: amd: acp: Update MODULE_DESCRIPTION for sof-mach ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() ASoC: SOF: amd: Optimize quirk for Valve Galileo ASoC: SOF: core: Skip firmware test for custom loaders ASoC: SOF: amd: Compute file paths on firmware load sound/soc/amd/acp/acp-mach-common.c | 6 +++--- sound/soc/amd/acp/acp-sof-mach.c | 26 +++++++---------------- sound/soc/sof/amd/acp-loader.c | 32 +++++++++++++++++++++++------ sound/soc/sof/amd/acp.c | 30 ++++++++++++++++----------- sound/soc/sof/fw-file-profile.c | 18 +++++++++++++--- 5 files changed, 69 insertions(+), 43 deletions(-) -- 2.43.0