Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp603624pxa; Tue, 11 Aug 2020 10:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5MjqGy/I445HOhxbLRrcvipGhY4kaSeuR8N5ChQgMBVZz/cIcARGK10HE9AIYlvs4gAv0 X-Received: by 2002:a17:906:248f:: with SMTP id e15mr26076148ejb.296.1597166616212; Tue, 11 Aug 2020 10:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597166616; cv=none; d=google.com; s=arc-20160816; b=X9J8gU6omsFeqcLgFifsNf2YeY2Rk3DfDbURyd71BYNLT+nPf45fDiu4LjXifMWGPO 8g/BaUCpj2r2JsBT8Kfj4lYBJJRiTYznBntcoClPLzHXoWgxAK5ErG/8MK/nKY6AvzPr HHgCX2aSl7DgLTPsS9TeI6q0OEdUA6NxvbVL/o0cbL1/E08NyLUqt0gouZgpk25jsdm9 afnudhiGc5cCls8lyPIxyShUwwOCDEVcoiiTvOufVIo6jSuNZ5UcGq7FWTxuyvlx0kyx saxnThOOILYJmRUyEp58QX5nNNMQd1ny5A9Rf8uJ8nYyd990+9w1BmiDbTzgBuLnim0Q iipw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qHcy/5Yyhk570/5x2VQf1hpj5mLuwXv9KmN1Ra4FZPo=; b=HrhUTftUoDz4WZLK1sC+N+KqOkNueUqoRKqtxR5gilLTpOjYgU2JpF0zYP4nTonvC6 3YYh2fu4bXu4lhERiYfk8tc3dZ+on3qYZRTbYIwdlMbxcYW7t14EgnJ0DKyblsPRDXHh bYk4F764/xh39sApKW0/IExUBnFB1F9oKXyWXtNn6MZxuCd9GWiIcWMLz5n59aDV6FOJ YSY9iS5Ij03P2LpGivVwE9kS8acTaeWNceqUHoM0QDmJcjFMO8GMQeK0RlBqvXKNTOd2 NqVT3NTVQXytGBCaUeOe+e2a6wH9TuXdFUEBrUcuUql1kVh32qCPTyXbCy0jX3PhCmGo UvCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FcFP3m3P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l15si13439490ejb.273.2020.08.11.10.23.11; Tue, 11 Aug 2020 10:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FcFP3m3P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729148AbgHKRWi (ORCPT + 99 others); Tue, 11 Aug 2020 13:22:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:58756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729096AbgHKRWh (ORCPT ); Tue, 11 Aug 2020 13:22:37 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50CBB20756; Tue, 11 Aug 2020 17:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597166557; bh=Dgm0qAiK5T+TCD/8IcEsF6RxUT4c8CCK4VuHeba5Dks=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FcFP3m3PZ60xS2+wW9A2qr5O2C70acl7/+loI/I+8FqlaeeIuIW2o6Rb4V4j0H7kp Gbebx67uMfJqT8Oc5ehcLYTREvnsoqid17qz93UPCepB7PjkjtHxt0nKLHu6II7/p/ 4exSngp47uuXqodDrlISF3cmQfNlJeejN6Lujk+g= Date: Tue, 11 Aug 2020 18:22:09 +0100 From: Mark Brown To: Pierre-Louis Bossart Cc: Yu-Hsuan Hsu , Guennadi Liakhovetski , "alsa-devel@alsa-project.org" , Kai Vehmanen , Kuninori Morimoto , Takashi Iwai , "Rojewski, Cezary" , Takashi Iwai , Jie Yang , "linux-kernel@vger.kernel.org" , Liam Girdwood , Sam McNally , "yuhsuan@google.com" , Ranjani Sridharan , Daniel Stuart , Andy Shevchenko , "Lu, Brent" , Damian van Soelen Subject: Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board Message-ID: <20200811172209.GM6967@sirena.org.uk> References: <3f3baf5e-f73d-9cd6-cbfb-36746071e126@linux.intel.com> <20200811145353.GG6967@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="L/bWm/e7/ricERqM" Content-Disposition: inline In-Reply-To: X-Cookie: Gravity is a myth, the Earth sucks. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --L/bWm/e7/ricERqM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 11, 2020 at 11:54:38AM -0500, Pierre-Louis Bossart wrote: > > constraint logic needs to know about this DSP limitation - it seems like > > none of this is going to change without something new going into the > > mix? We at least need a new question to ask about the DSP firmware I > > think. > I just tested aplay -Dhw: on a Cyan Chromebook with the Ubuntu kernel 5.4, > and I see no issues with the 240 sample period. Same with 432, 960, 9600, > etc. > I also tried just for fun what happens with 256 samples, and I don't see any > underflows thrown either, so I am wondering what exactly the problem is? > Something's not adding up. I would definitively favor multiple of 1ms > periods, since it's the only case that was productized, but there's got to > me something a side effect of how CRAS programs the hw_params. Is it something that goes wrong with longer playbacks possibly (eg, someone watching a feature film or something)? --L/bWm/e7/ricERqM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8y08AACgkQJNaLcl1U h9Ccwwf/bDJWFL/+Dvlv4VW6nQDJuCL87mKFpuskMBCg8FgktasTXWDZ8hqcVoHf aRfI5Q/+gJ982IOHeC53vhb0NVnq4KzSlvYV/4rvphaYivj8EDI4CZqVaxhZCAyv C2DhskJdWKWmmdODAui8e66hUcohBR8HXEmlxo6ao6Sbw7LL91pJnCk7f8pfYQDI rQXV9dGPKvJK083JcpNPJYN3XpP23SJ7HtNk0uPQ3U3fuCxNX6XevHs0Yr969wFa 4ViVlvogW7FxgOyaaTo32bHLPQNVoot1xCIWeTmO+L7sSAKTDJQbd75fp5f45wQX GYxDwTvSEo2+GwC4rcYi8g+M2tWcBg== =vhck -----END PGP SIGNATURE----- --L/bWm/e7/ricERqM--