Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1817054lqe; Tue, 9 Apr 2024 00:42:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3ANNI21SmHJBHXWGzq9g7Du0VzC8btmp+UsRP3wpTk5JZ6WEmnBS1b8g2k3QXiWr59CGOJex/ifyeyzaN2k1Rg72xG4YqS59kYkhJ5Q== X-Google-Smtp-Source: AGHT+IGl4Nwn7ruqiCrLT/BR0b9kOhof/fbNsfrxMv9GlnDPrXwVgJzd23xHwygo3uRfQlxp4fZ6 X-Received: by 2002:a05:6214:a65:b0:69b:1e64:4139 with SMTP id ef5-20020a0562140a6500b0069b1e644139mr2682680qvb.27.1712648566466; Tue, 09 Apr 2024 00:42:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712648566; cv=pass; d=google.com; s=arc-20160816; b=YeZj34ePvU8bMcssqW4FbvCLhRTvR5VWMDd7vwW5C9PUrOZK9GeAyYWB2VSrpJGcda GEtkUfqP8iD6hENFMKR5hMZIl/W2sieQHG/hLVVGIsOjZ6rpiaRZMV7zy/crhjSim8KF eWP/TqyQr4j7iptg6ViumwF+d/oRkDwp9sFKqUoCzpM8E4sBekLryuZwJ7qeVvSrKwZg coGej2JSZUwf2wKmbnDVbWT3uXXQWEqU5unwqVFjY8lH2ZIIf0PzgqSd5xml7EAMALY6 PHUf394cW2JL+t2i/pFuzt28ZoSFnv21wD78SRbIaG7xO6CNZodwF+OdeTSyjYdtzkH5 3X9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vJJdSJCnaHRDq3KOssjArU/KluWzr0JN2Kn6rk/SI0c=; fh=ixNTtWSW/Y8QLVVGEXbRwTt6+7G8soHd5lzXAhGPlP8=; b=KkT9BSxWTZnvHQ/ZpIcnChCOlol1ukiMYuNmxsLb1nup5ncaXCUC4SYKGYs5olu+3K bqtzt5hOJgezrzLXxsLaQ8il+Y86dmB7gL2+L1xdSywp0Y2ytwYcLJCCbjYBEZb+AUeL 8fBjsSZu+YqJXB+KfW+G87kgS6Bk7CS4I7KuOEJ9Iu4BLiDqcodpFCiW7kq48cE2cbYZ fQjpJ456Dzmw5Gf71fC+T0uMg7m46ct7O+bwqwPg0jQ1B9t0sL3ZSznr6dzdjRaV/tUI V7DFNyq0m3PsjUfdWGs65fIsuT9RvWic3aMmRGlUEMrYjEAfHncTsBbySyPqTFf8YrFX okeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=m9Q7JlBV; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-136382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136382-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k20-20020a05621414f400b0069b1d91b3d2si3306310qvw.327.2024.04.09.00.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 00:42:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=m9Q7JlBV; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-136382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136382-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1C2111C21372 for ; Tue, 9 Apr 2024 07:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 565A87D080; Tue, 9 Apr 2024 07:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="m9Q7JlBV" 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 E37587BB11; Tue, 9 Apr 2024 07:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712648558; cv=none; b=Su1ybohCiw1etMMHz8iM0XpZ7CA2ZuUGR3StYfcxus1B+Ux7BjLUH8D6l8DiEPvZG56DoK0yDDf9EcbT2qt+lq3wvHFpn5rUBY3OQvLRJwhP+y/HasdpkzNOBWNVTqUw8hoSz4MP14Ie66gVhSz8LAnFcie/rAUgx1PgQN7ryok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712648558; c=relaxed/simple; bh=wWWDqi7kssbzxmlTz22Wcp6yLPhzsSk+wfMK0IOEF7E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UGK/jpJscxYxk45yegAij+PkuvozTV8zngZ/yC71i7GqJMBfv/9502+nKNSAQygxr62YtajQtABeCdvf7i2+667HzIgnK1b6NcgcyiRrs91zDdwEGU14M6lt9PxovqqcDvnzyJUftOlTFybiC7hQMxr9Jv5tOzd/gl9B0TIMX4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=m9Q7JlBV; arc=none smtp.client-ip=46.235.227.194 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=1712648554; bh=wWWDqi7kssbzxmlTz22Wcp6yLPhzsSk+wfMK0IOEF7E=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=m9Q7JlBVy54nlghxML/6BzlBi3raVoxAFHWjN2noJmfj35j7mWVTwia/5YsAKP1Z1 hJ9emT5k3cSIRRpKFe9jk1GD8DErPOqsDWdhs7lPoKSwlNmVRQccyV9J6oO1KaLXEF F6PZIDmBm+eQCPBN91gRocBv+BWkYL5pAFl8ZPEpxVvbOwxQNEJH1HYK5gQjYK1qVY /qmtak97nDUMhHtz8q0Y+UxI7zX+NR6J7S463vy1OHT+sT0rdN4YlJUbfBc4IH3h5s vbuld1lxrjglZ9opGQP7rbVBBZwnLPop+KVCHyox21xxNFFoSd+0kOrh5a4Hh4W4ME bRKHX2tayIPkg== Received: from [100.115.223.179] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0C48B37820CD; Tue, 9 Apr 2024 07:42:33 +0000 (UTC) Message-ID: <9012f8d5-302a-4840-815a-22b1e85fda5c@collabora.com> Date: Tue, 9 Apr 2024 10:42:33 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: Steam Deck OLED 6.8.2 nau8821-max fails To: Linux regressions mailing list , Bagas Sanjaya , Venkata Prasad Potturu Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Arun Gopal Kondaveeti , Pierre-Louis Bossart , Daniel , Linux Kernel Mailing List , Linux Sound System References: <4d231dc4-0183-47e1-8bfa-3dd225bf8ea3@leemhuis.info> <904ffa11-592a-4336-aed2-d6370bb01896@collabora.com> From: Cristian Ciocaltea Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/9/24 7:44 AM, Linux regression tracking (Thorsten Leemhuis) wrote: > On 09.04.24 01:44, Cristian Ciocaltea wrote: >> On 4/7/24 10:47 AM, Linux regression tracking (Thorsten Leemhuis) wrote: >>> On 06.04.24 15:08, Bagas Sanjaya wrote: >>>> >>>> On Bugzilla, Daniel reported topology regression >>>> on Steam Deck OLED [1]. He wrote: >> >>>>> I'm adding this here, I hope it's the correct place. >>>>> >>>>> Currently the Steam Deck OLED fails with Kernel 6.8.2 when trying to initialise the topology for the device. >>>>> I'm using the `sof-vangogh-nau8821-max.tplg` file from the Steam Deck OLED and associated firmware. >>>> >>>> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218677 >>> >>> A quick search made me find these posts/threads that foreshadow the problem: >>> >>> https://lore.kernel.org/lkml/20231219030728.2431640-1-cristian.ciocaltea@collabora.com/ >>> https://lore.kernel.org/all/a3357e1f-f354-4d4b-9751-6b2182dceea6@amd.com/ >>> >>> From a quick look at the second discussion it seems a bit like we are >>> screwed, as iiutc topology files are out in the wild for one or the >>> other approach. So we might have to bite a bullet there and accept the >>> regression -- but I might easily be totally mistaken here. Would be good >>> in one of the experts (Venkata Prasad Potturu maybe?) could quickly >>> explain what's up here. >> >> The problem here is that Steam Deck OLED provides a topology file which >> uses an incorrect DAI link ID for BT codec. >> >> Patch [1] moves BT_BE_ID to position 2 in the enum, as expected by the >> topology, but this is not a change that can be accepted upstream as it >> would break other devices which rely on BT_BE_ID set to 3. >> >> The proper solution would be to update the topology file on Steam Deck, >> but this is probably not straightforward to be accomplished as it would >> break the compatibility with the currently released (downstream) >> kernels. >> >> Hopefully, this sheds some more light on the matter. >> >> [1]: https://lore.kernel.org/all/20231209205351.880797-11-cristian.ciocaltea@collabora.com/ > > Many thx, yes, this sheds some light on the matter. But there is one > remaining question: can we make both camps happy somehow? E.g. something > along the lines of "first detect if the topology file has BT_BE_ID in > position 2 or 3 and then act accordingly? Right, I have this on my TODOs list but haven't managed to dig into it yet. However, that would be most likely just another hack to be carried on until the transition to a fixed topology is completed. Regards, Cristian