From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 573F6369990 for ; Sun, 10 May 2026 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778408049; cv=none; b=r9HE5AM4b95NVnN9vqMSkRMebD0qg/d4BOeVl0FjjIBGDlETCNznBG5aqgWxfwcY0YqKWAha6k1OW4apQmid5TzOkS/cmtsd3O+X+1eNrj6rd2ityM08/bv7LOQUOmaZxZQeDaCgS7aQMTq73rDulo22UkaopQRRcBG7SQdxmNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778408049; c=relaxed/simple; bh=P6QKg2y/QOJpy/oFBXcEeXhsALMznnNszgPwLQj5mto=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QTpIQ0toATFZz+zj1AwEdvAKyQITSIO4C1qPFtVA9cUmVMWHjtBYg/hAgaD163GDPeQMx9yAL9V4Mq/eRhm7ZJVNa3iQc29tHnWuxExKRKX7AMiaCzHIk1ihzkirQ4ATjg6ELpDbuoVXlRqbb+fXM+G06Oh3CMklRRpmrrQ1tMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=U1PiXPwg; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U1PiXPwg" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-44b052142e1so1829925f8f.1 for ; Sun, 10 May 2026 03:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778408046; x=1779012846; 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=pX3w1V69PmEOX0juzgumTVFHN3YkvYvOdGGZ2KCGQQQ=; b=U1PiXPwgAC6BByv/zWHNfIWf3Wa37DVU+wpX8psRuvfImlGuaT8GPpa5JVh6XTa1Ly RVsocPW3vSH/Dgg7G11NsfSiiv00s35KUJIhzbedgRuITLIqXqEb8pJmkzPOlkfNKgG7 Cg/seFsFDibvX3A29LAc6Y74hNKOZVf8cb91XTly9jKZzXDsAhPfnf7fX5o9AHBOvEWB OraZfSbyh3SER/zM2qIRCQLKywgPRO1xwRLqup/lxX4NPyRWK0SlGs5Ox3mxASXKmm5A lnmbgqq97y+ECElkk9qypiuhj6k2XI09QHBmDxXMskyCe+GlknntTRjoKGQxLVCl176Y pAHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778408046; x=1779012846; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pX3w1V69PmEOX0juzgumTVFHN3YkvYvOdGGZ2KCGQQQ=; b=Yo7e8W8XRrfGbrVLyKxieDSm/UZsmohc7Bu0sPcEpCamkuUOhsYJ5mcWtz1Xsv42pk AUVCNdhnOhJ/MI5GMI6VO0c/muHIAjl4ke0iFA2c++Hvg/TGxqjsvqWgtXeAIrTezb5a eftOTBfifgZp6sJ6fm6VGldakcRBQZHd62urgUnUvjHKPG623TXDcRI/PuWPbk73jksF wlRXLWfUxY4MBRLLfOBriNykt4erXWhaePQCGIL13rO2fuqfx6r2TzGASF+HzLLuKss5 4vzaWeTUwFptcOJgGSFnSBi4myhFFOvG66kriCWLpIsk4sz3ZmJQ8gYewYzxhXKl+yGD oMPg== X-Forwarded-Encrypted: i=1; AFNElJ/L34zXihU9PbTLtI8bmt33oO7BsoW7AMFW/0aCm8QWFfYIlWHL6//SWw1Z7vJQD60Z1mKz/8OmM4E=@vger.kernel.org X-Gm-Message-State: AOJu0Yyqxf4kHN3IqFIbS1uB3f6u16QJxlxbJTa5flthbAecbzeCmQWs AMRpv8ONNoGmMIMZ0z4e5SYvHRGKxrwUPO3QEVE0qTaObi7lZvynV3ZO X-Gm-Gg: Acq92OFNOc8cZkIGw6h9fa2RC92UXIkkqWhA6pVjNROZsoHE90GUiUe826VauIx2eFz zTw297LpcziGqAFmYrn6cIi70wjfeZNI2bs3OWpNGxnwq00jC4ezHpQnZfgt8kNKqlow0WifMFs /37WNVi3dG/5RcI4t2+x3TeJxWyT6NI7rldQ1aea29oe2SrOLO2yswbr78XJxHZfCcUV+SKqU4A GXC6nQhlALW71s2ERezeB/qZ8l8k2gttWM8nqeZuUzLJ0cpQ/b6ieYCAU5TP8RBQ5CBE5MXh5T9 Q1aRmMgHumtNQMJIkAm8Lozbge6E6wrcEAyfmVh5xRjwc48Aei1QOJ5wqsIvCA/TLM6lwNoixRn c/u9vkM8R+u6TAlDBKzT8ynYYHHHPsHRDnCbWKi50OJxPp7rA/BIuPEu5qG+Gn11thfRukAT6ah SCxbKBm+oxxCpTfpLrmmCnb0gZAmMNtH3y5ZhRCUsq1vpBuJc+1e+ULtDhyccTByZdAuIC X-Received: by 2002:a05:6000:188e:b0:451:26e1:3cd1 with SMTP id ffacd0b85a97d-4568cc42f7fmr8098198f8f.35.1778408045575; Sun, 10 May 2026 03:14:05 -0700 (PDT) Received: from ?IPV6:2a00:f502:160:4e2:a099:cad9:2ecd:93de? ([2a00:f502:160:4e2:a099:cad9:2ecd:93de]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45491ca2fd6sm18233894f8f.30.2026.05.10.03.14.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 May 2026 03:14:05 -0700 (PDT) Message-ID: <1c2cdaf2-fe30-4443-b164-c37c26f3dd05@gmail.com> Date: Sun, 10 May 2026 13:14:02 +0300 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 5/8] clk: qcom: gcc-msm8939: mark Venus core GDSCs as hardware controlled To: Bryan O'Donoghue , Vikash Garodia , Dikshita Agarwal , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?UTF-8?Q?Andr=C3=A9_Apitzsch?= , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Brian Masney Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20260507-msm8939-venus-rfc-v5-0-d7b5ea2ce591@gmail.com> <7df3bff7-b872-4b20-8e7c-698157a41f33@kernel.org> <18998766-62fe-4a5e-95d8-1bfae712d8fb@gmail.com> <614a087d-d219-49cb-85ee-772044558649@kernel.org> <0cee27b6-f566-4958-8634-2c43e099281e@gmail.com> <-hM6afm_Cu_8Cha9U-hrlrg6CGDEb5D3PFpPPCfIh-QgkdFJp_r0Ah9k1dvAF4zkju2dPc3FZJxvOA4V4hupAA==@protonmail.internalid> <69f9a6b7-7431-442a-82a2-6305635a508a@gmail.com> <9bf43e04-f834-45b6-8942-bcae2e480371@kernel.org> <1ee77cbb-9894-4b16-ae2b-8e9035fd6cd5@gmail.com> <6cbb9b37-9560-482a-9fa6-15d5370d258f@kernel.org> Content-Language: en-US From: Erikas Bitovtas In-Reply-To: <6cbb9b37-9560-482a-9fa6-15d5370d258f@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit >>> Last time I tried to enable only 1 of the cores, the following would >>> happen: >> - If core0 is enabled, HEVC decoding would work, but not the other >> codecs. >> - If core1 is enabled, the rest of codecs would work, but not HEVC. > > Can you be a little clearer here do you mean - doesn't work on that core > or doesn't work on all cores ? > By that I mean that when I tried to play an HEVC video with mpv with only core0 enabled, it would play fine, but trying to play videos in another codec would result in power collapse fails. Likewise with core1, but in other codecs. I assume this is how cores are split - core0 does HEVC decoding and core1 does the rest of codecs. This is confirmed by downstream code as well (although the cores are flipped - core0 is the rest of codecs ("legacy") and core1 is HEVC): https://github.com/msm8916-mainline/linux-downstream/blob/b20608408caff817ec874f325127b07609fbaeb8/arch/arm/boot/dts/qcom/msm8939-common.dtsi#L1589 https://github.com/msm8916-mainline/linux-downstream/blob/b20608408caff817ec874f325127b07609fbaeb8/Documentation/devicetree/bindings/media/video/msm-vidc.txt#L35