From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 5285221CFE0 for ; Sun, 10 May 2026 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778408049; cv=none; b=EobccfOk6WxUQLf89Riyrth8osz/JNkHrJ8r/iiCA16pPmKc0onKYT8DU0I/uo0TLzhHYvjL5w7l1/vubFR84Qdv7dDT7mIb0NR40DF48uXvcpK8hG1U+hqco/Ti0NrpYBkcj/QV3qwd3vrySTOTkoI8Lfwvfc/8srBfUwNaVAc= 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.51 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-f51.google.com with SMTP id ffacd0b85a97d-43d7e23defbso1866259f8f.0 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=YcGEZ62q8wchvXS/Y3ntSygJdGuo/L3B9IQBL6V/QSNXRrdbB0UUL7Miu3cqUM06iz pY6pFW0nTStfVAUUFCxoLz+LqM83JOYl1XgKuqUHml3BnkS/Lhms+pJosHfRyP8iAWi8 8EEhSY8vnzqiZXVq3EX3/rqM747BJTTKuu4SPumP/sgmvZZOCtVWiBqytvxXRkguaM6T U0Aivw2ILS8wkErCkFlwHrfwxFvZPSOWawl6nWzeaXl4x82cKsg2C+Gdeo5c6v9XzJkQ aNI3EXDrQKQbQ8AFnnwVB5Y6TT+450qfb4jqLvUWF1/NVfYFgkDiAz1uxlWPhotv+/6k mYzg== X-Forwarded-Encrypted: i=1; AFNElJ8hlb5Ii4eD++BaVtbtlIgu4/+MMZYgfLxxP8VcpH/iutpSCIwX/6AUDQrMN6mWA4ok6v33rKzVKI2Hlr4=@vger.kernel.org X-Gm-Message-State: AOJu0YyCYvPTsYQDkToAzZnfeJZ2Nh7zkHK+8FickEhcF3GZ0+I2sBSN v3d7Q/EuhB93D8MPJ97JhZxS+XMH3eI/mkGX1V87MPJOBwRdVCvdbozZ X-Gm-Gg: Acq92OFrKUV2vdaYyuwNBMxKbioyIAQnF/9+/5bTUIM0sMvKUErqmlCh5KwCLIGqld3 zv3dlTvaQ/C+9D0IHM3r7Iwe4BPP1JjS5yav+MedZynmzWvfRz0VzWEx9PVw1QEbSaRU2Hfkqiq hHkWvvqyHyEUHhR9ZHgYPk6qX62gW0TEXG2WaD1tjQdb7qavGR5N7FcMrFL6MGaYmKjVSVbuoG9 y2+R1aU7aSJeja9xRyiWx+I4+ZUiu7e8M4vbg4nCkA7oU6BUYmiRNufcjtyq8+j+FDiH9uef2rg LB4PFxwUQ/TkE/oXYwcR3QlxGBnjkxtKXToEclZJ/Vyh/0UL1YNtOooMWDIPwExHallC54Gkct4 y/DK5EL0KfJUdSPZ+XF54qfkm0i2jVcUjnToFhnd7YzmL69yCu3/k9p0P8aYOiAJal5FBKjJc5J 0vrfvVPN+RS4xgQ4YSSy0Ybvh3poNphYLkmG+YGNG9PXDeO42QGV7KzFtkU7Qk1EnUXXUO 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-kernel@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