From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 5E50436BCC4 for ; Sun, 10 May 2026 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778408049; cv=none; b=Y/ZS7Ify57lDIsLaO60oboWtRuPP9YTSQdPCQRuO4c/nE7LZNOOJWjkfe5EKlDhXbdM4Jyt+/PsEmcYXR3b+s/fBCEKSrLMtSHUsQhuP+tbJ9xVYxFHMW/lviHcP7x0GzosIoxoFpxWYcx5ZM6tAwLkCvW9HoGKFrzbmivvpSOs= 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.53 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-f53.google.com with SMTP id ffacd0b85a97d-4526a8170ceso1797606f8f.2 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=heAJTZEBwBrdCY0FIHl8P5dqpOyMr2KdiECAVjma+W84S97MV/R3PDPcJb38N17y7j Nz+sCqKYXzT3JgUrumiGC8fiVIWOG+sC0b+DCl2pwnIiOyt9PiDKxt/xaEEsE2yIctGr HraDU4alo4+Laa87/GSyei7gCwGuc3z3KYVOpGOM+AE6iUczLbq8n4pylD7gEF9ql5f6 Kstsf0wLjAhhvmSTY463gHbtVG+duYcZnofIUAxYd26q+NFk7GU9JYcXbDCsfHn9dnEE Wgl05RvosREE5A8wQwZxD7YeoHUSomHz0gHQyI2fdy/VwIEkW+7w2I4mawMJefUlaFvB JLZg== X-Gm-Message-State: AOJu0YzoDBqkzt5SLsjIwP701RF6y+CmJzSQRhQEanfpefSBsHh7RlFg kGddXKrcBEsR9DeLOIVFo7zKNi9dbdiRBfvEwTcQNd79FjpORv87CPZe X-Gm-Gg: Acq92OGKAeULhYTfInHhLiQYduMjQ2IIscj5eD5UfOqPWtKpbqWFdVpGJVELnJiQqWv /hUHR8o6C1V+Gm4KUoJT6ZDCzVF61/MAin0eEmFWgY4s6tMyjrYvWYOAoMPMc7SyucV4AlDvM/K h5bpS0Zp3NAimSyohkHA1zlDa02hfGEyZgqlsQVlB3yNLZUZZaAfOR2y5kxUqjJw1N7IzP90QzA IayiMzZRATytsy9K3ZXBZVd1BDyUOxE9VVF6/F98eehG+61FMwAjY4tKo3xWtHdPJHDngdZDo7j nqVF6FpMZpw/GpUbH5RWCeZt8F3mV0Be6dLQGZund47zTdvk20Y+gp+J2rVu8wE0CXDrL/WcPd0 MOaoPQHwFUa/FqDZRBbcoxzMyht/qdxkOFb2GF1mKoJTUwt/5SsW8Mjv3sSTVcuzhL0XQ7MzXna AAPSZTk2kLw9tFbjTP7OizY6k29l2ZLCWHXoizG2n5Dw72NbO/RaYjyfukN8UBPkA4NzZK 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-media@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