Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4072515ybi; Mon, 3 Jun 2019 05:20:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqYGcqJG6298+egMXqhhHZDjsQIO9mIbucfzxl+fRH4tpwHvihHGgt/hv2uDGwi7xMMv0h X-Received: by 2002:a17:902:9b94:: with SMTP id y20mr14624593plp.260.1559564456480; Mon, 03 Jun 2019 05:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559564456; cv=none; d=google.com; s=arc-20160816; b=fagxjUyr3q3fEzwm5WgEEDLOjQSfwPl/ozZZkYDdu2Wd3/8qDFlKuKlZJcsKS+pb6M K/4jK1bPG2XswJ8vZ9Z921yhSc/9q490HupEqLBhyMJfAhIedoQ9ZnRr5yPcuh9EeKUe 9VhzbDfIodRhE6abOYP+OUcHToNi1lKEbd3WcpNouSqJZ0S8C4qpdBFF5+u8YiEqg09o p7o0hmB3xESoFu64xCSmcF4INHTbkvP+TP79tyjfJNzO/0h9zjfI7SKFeXhDDKiPaBO5 O7J2z+Tux0kuN+q6PBvAwD1/e6UID+rNFHw/d2uhsjJ3Di2hWQVhPJWcl3BRLzTPIcCS Sm8Q== 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; bh=JON4Vx8jXWcPchmEDzAJPtGWnbiiHo6HXcFPLepHvPI=; b=PKsi6HoAIWnTCsfgIGiLcYHaarKcWnKw9XffPqBpKVVFGwaOWODh6xfKoFiXFnJHPX I5iSMIrfPzc5ohS9xjHkZasSBY3g+gGELxepaMKRNizGN4kjK0V2G4NE+5IFdWJGe3DR Yl+e1LhWBrzXHMbrohWPY8r8NuLKO97rq5qH1DUeovGE8gMi4vRI2WSMkn3yYqR9JIfr 9Y/YS+cTC5da0u1cjFkBfPkZAWxCcAWX8nZ6muzkE4r5IQ0d7/IEWtFV9qv5Y0IopfWb hpttCitdzwDOVGisFmGo9BecSnv4tbDF3zGKEYePQFbpd5QFBcclxiRBz7E26/T3PqH4 pMhA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a66si18846738pje.2.2019.06.03.05.20.39; Mon, 03 Jun 2019 05:20:56 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728428AbfFCLie (ORCPT + 99 others); Mon, 3 Jun 2019 07:38:34 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56235 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728148AbfFCLid (ORCPT ); Mon, 3 Jun 2019 07:38:33 -0400 X-Originating-IP: 90.88.144.139 Received: from localhost (aaubervilliers-681-1-24-139.w90-88.abo.wanadoo.fr [90.88.144.139]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id C3B3D20014; Mon, 3 Jun 2019 11:38:27 +0000 (UTC) Date: Mon, 3 Jun 2019 13:38:27 +0200 From: Maxime Ripard To: Jernej Skrabec Cc: paul.kocialkowski@bootlin.com, wens@csie.org, mchehab@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/7] media: cedrus: Disable engine after each slice decoding Message-ID: <20190603113827.2nmm5wkycf44aqox@flea> References: <20190530211516.1891-1-jernej.skrabec@siol.net> <20190530211516.1891-2-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jzwau3t2b77xs3xp" Content-Disposition: inline In-Reply-To: <20190530211516.1891-2-jernej.skrabec@siol.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jzwau3t2b77xs3xp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Thu, May 30, 2019 at 11:15:10PM +0200, Jernej Skrabec wrote: > libvdpau-sunxi always disables engine after each decoded slice. > Do same in Cedrus driver. > > Presumably this also lowers power consumption which is always nice. > > Signed-off-by: Jernej Skrabec Is it fixing anything though? I indeed saw that cedar did disable it everytime, but I couldn't find a reason why. Also, the power management improvement would need to be measured, it can even create the opposite situation where the device will draw more current from being woken up than if it had just remained disabled. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --jzwau3t2b77xs3xp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXPUGswAKCRDj7w1vZxhR xcoOAP9mzllurMZRL+0rmJfj1Ie1ewdM8HeuqLiB1e/Mm8M0VQD/ULwrfBAx5fRS /tgzkYR2nXRMpj0jQ6+7xa2pyZdkdw0= =lu1j -----END PGP SIGNATURE----- --jzwau3t2b77xs3xp--