From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9754515B576 for ; Wed, 10 Apr 2024 13:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712754895; cv=none; b=Ae8SMAeOuLlH6UiLuziMQIWcsnYcMgfiKtU4yru32PtXTWPQOwvIpxHUYQkqW3545rNPiUzlh3Io5HgBqknTsdR5Y/NXjEjk+AuZoqyCuLnvn3feCtF4vKtDX2xTw/Z3UBt8L3mnLr4HEGsT+FMyB3k0l7/qRmuTw5bwPlZGh0A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712754895; c=relaxed/simple; bh=uXFbl+hOdE9txcWiBEXvSwpFCOK4Yos5IknwcHdqRs0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GdYca8EVCjVDX23KLo8dqufEd/6u+f24UvfcJmzo+q3Us00CIG6dPguSkzB9htasVTHjUf9HU+NHyNZ1J4mgpu8GkwniDcQ9okA90WXPCJFTV7AdJJexdqtQJy77pTXAzSApP1qimqxEbofd0NH2AZz+bMooEe7dGMOPAJS14qM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Sb3vIniG; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Sb3vIniG" Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d8743ecebdso48257311fa.1 for ; Wed, 10 Apr 2024 06:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712754892; x=1713359692; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6OWA5VYSumWvXn/xluvVFDtGp6w2Gl1hNDs2VN3t5Yc=; b=Sb3vIniGCRUTnzOXakXHfhmUzSvCrQXqgyDZ82Wd+3nzELC3un/b7J0SV4VcGBFoDM StF4S76pd5re2XI4lZte/KdaXYKYbwVSir/yKAmHi3HuVZW/ma14uP3Tnxf34ibPR2tA ub014nmdkX/6gIFTh+ZiwElQ6I234SKSgU9PP/yAyePMkIUgQ+VowhMUs7V+nk7rKj9Z vlnUA8EOtN8bSbc7G0SCeBt4EGnOnaGuAhggg18bOBeZUcpXgAu5GCoswKenXDlBlf4n W1NVANe+abRc45Q5564AE1gQ9rcmv/aqVqO2eqOSplRSCHi1uiJ2xg19T41Af0B1BMT5 QVSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712754892; x=1713359692; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6OWA5VYSumWvXn/xluvVFDtGp6w2Gl1hNDs2VN3t5Yc=; b=a3RXMNyW59z9XLXMf8tQ2b8Z/eFwGz13PnPfOV8bV4GCj/P3G0QegUgEnlS8ivcvbE agQzcYjxwrAjFoWIeOzBhxnWcqfyrpk1umhPk1eVwF/WZwEYTqV4w61Ao717u56QLn/a A2TFbyNVwVUHjRu2+GR2bbdMeasSxanKFOKT+QywZhOIenNA9B6wNht9MEWo+j24ogL7 Deb8aElyHaPXOt4QXHOVcCTBfv5JK3Lji113wnPjU3VPAcl2vscbPnMrmXJAH9pgNAPJ GuuMnifeIITqShPjx1tmQR4CaIIm8RDMwCxbu3z8tA8FFcjT22YkwGEDxtMELCCAx+pf e7iQ== X-Forwarded-Encrypted: i=1; AJvYcCWwA9kIEiPnsnP3tpJ37n0FnJZW2XrYYOQ9ReHitGIohoKu6KcdT43DdnSoajFvOBGC2XkOPwDx2NZTo2Y0sxfwsIXFqD0y9wOspwAbZw== X-Gm-Message-State: AOJu0Yz71JK2PGK/YQ73ecOorqaAfr7VPuS7E5G5Ijp8viT0nkZ4/lTA HI+f/1ISDvWdfWiVbMKvbMY94EeZRsZwqaO4ggFFjJKP4gE5i3ODjQtJN0QHw1w= X-Google-Smtp-Source: AGHT+IHw0qZSvQTCawXFUUcbMIEMG9pEostk4xybTYS7z27dY7dAqPO2sYIVy1TUlITr6Dz1a4zYbw== X-Received: by 2002:a19:c216:0:b0:513:de8d:203c with SMTP id l22-20020a19c216000000b00513de8d203cmr1589429lfc.28.1712754891782; Wed, 10 Apr 2024 06:14:51 -0700 (PDT) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id t17-20020a05600c451100b004174ff337f4sm1579420wmo.7.2024.04.10.06.14.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 06:14:51 -0700 (PDT) Message-ID: Date: Wed, 10 Apr 2024 14:14:50 +0100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC WIP PATCH] venus: add qcom,no-low-power property To: Marc Gonzalez , Vikash Garodia , Stanimir Varbanov , Dmitry Baryshkov , Konrad Dybcio Cc: linux-media , MSM , Bjorn Andersson , Jeffrey Hugo , Mauro Carvalho Chehab , Pierre-Hugues Husson , Marijn Suijten References: <0843621b-386b-4173-9e3c-9538cdb4641d@freebox.fr> <87db77f7-fda4-4cf7-adfd-8545c40c3365@linaro.org> <10fe67af-0572-4faa-91c6-fce9c8f9dc92@linaro.org> <6342e92d-eed0-45c2-8f04-3779aa2e521d@freebox.fr> <4ab95e87-c912-469b-b8d4-be0cf0e4710b@linaro.org> <33382ecb-8a73-4d2f-96b1-8048df7a6414@freebox.fr> <3914555d-3c89-a5c5-2906-0bd24d0bf735@quicinc.com> <72741d2e-5165-4505-b079-d7b5d1491888@freebox.fr> <21b833cf-61c3-4fb5-8c55-492aac0fd3b6@freebox.fr> <8170522f-b813-19a4-3f85-f2880809d9a5@quicinc.com> <09bc9231-0e59-4cb2-a05f-02e2fcaf3d15@linaro.org> <02a32387-1a30-44cd-b552-6e47023b997d@freebox.fr> <8b9cc46d-4267-43fb-b2be-f5996566a349@linaro.org> <0159169f-8da9-4ca8-a427-8160a9b09a9c@freebox.fr> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <0159169f-8da9-4ca8-a427-8160a9b09a9c@freebox.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/04/2024 13:23, Marc Gonzalez wrote: > FWIW, I get the same behavior with 854x480 and 2560x1440: > > 1) If mpv runs with '--length=N' (play only part of the file) > then mpv exits cleanly, with no kernel messages. On -next ? I think you mentioned before you were doing your work on an older kernel and forward porting patches ? > 2) If mpv plays the entire file, then mpv hangs at the end > (needs CTRL-C to exit) and driver prints to kernel: > [68643.935888] qcom-venus cc00000.video-codec: session error: event id:1001 (deadb000), session id:79d42000 > [68643.935995] qcom-venus-decoder cc00000.video-codec:video-decoder: dec: event : 1001 Hmm #define HFI_ERR_SESSION_FATAL 0x1001 Something is causing the firmware to return this packet to you. Probably worth tracing the last five messages sent by the firmware prior to that to see if we can root-cause. --- bod