From nobody Thu Nov 28 08:49:36 2024 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 0B8901D0488 for ; Wed, 2 Oct 2024 12:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727873910; cv=none; b=LPhyAx9/TcLSAli0JytnAaCViA5aMffvM6wJuDtjijWyP4v+W3ki43g7ts5RU04Ia+fueEeRw32ikW1luB+JlffPttdkRipEHYXqeebFg2rVbi6yoYKkXBOBeVsowWpEjN2a4bE820yq+VKlqD58nuxeoFsstTnNiF5P49/Vo9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727873910; c=relaxed/simple; bh=xg7z/SeJzhmttlPdDZR21cOqf/AVpCo3yoWnuBllEzw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=t7zBfvo19Q2K5OhNYgU+o2ewqRlNOUUAfSZuKHJjeXhLW+CrYB2NpvOF63R9HRsfcapPkCu1g1zvju9hfZHkWsT4KyYGyE/AzqP46HyMzkN9iHavuuCo0n5X/92OAgoA2bT5uqWyo6gt0eB7MrYFS6ENzDugdRIdcln55cwU0y0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=V26zbYtg; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="V26zbYtg" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a8a789c4fc5so147378566b.0 for ; Wed, 02 Oct 2024 05:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1727873907; x=1728478707; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=vh4uUBQqwVxTdhNiYiNFdtajRwq696yeQxZ3bN9pruM=; b=V26zbYtgziN6t9yhcTlSI7LdGQ2h3YMnWx5MHS9lpqSJUN23oeTTChIfEdDkjXHwA6 RpxKHZI6FBUVbl82wMVJ9j5Hv0J/oTbxF54zaF5IeFp2pU2BgS9FUDpH039LCHYTAkd4 hD7GRgg0ECqoYYR0dk6Z0/gClY2Twd3PBffI3Dl0ALUHMYrQweUCFRx478V06P/yfgAp o3SOkY0HwdfO2gOQtFQJPvTFQwhfDHIUvfecG1JqLnGSJSMn9MFfbMh2O1eJaMWdo6RS 6mMZcsVUfbUes8tsFKgGRXZ0y/PwSZwiyRSeJYT0kAo8zxwX/g3iu1ZorwC99KvhLAdk q8Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727873907; x=1728478707; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vh4uUBQqwVxTdhNiYiNFdtajRwq696yeQxZ3bN9pruM=; b=GOaj8sF9nKoaknEYYALehjdwiDbUAMIP56SAHc2DFGMNv1TGnv607aD1Rr+cpBM2G0 M9IzXVSBWPgF+LJHevyTTu0BLmOmxsw7AV31vd1Jb9vEF/tfiro+8r/E9/CSl9zfvqSg sjhr5y+r0iEE5Tt14fOLdLtgrefY5/lnCkzSU85hVUzESzONDs44GFa6aaBGzfNqSuGt h0JHCKtWn+N1mn0RgFRgLxPHpuRxr2ZF7C3CD2lrI0mmhM7R5Y1Hol78UjnuUGgIjhR/ 1KtVOYDA6UD3jOiLdKnVecIMmIuDyUFosZaSqlW4TORqV4VX7eQ2lmkptlTjvx1OAmf9 oGVg== X-Forwarded-Encrypted: i=1; AJvYcCWb9kCleaR6MJ+uNIb9AUJXa5F/6Hg8NvNGPP2PpujzNo/9nYJ1TVJXfEI6rUNd5iBjoiJRShbg9AYlNtY=@vger.kernel.org X-Gm-Message-State: AOJu0YxoAxxFldDvsKM6KW3GEAE1w113YgOMFj+L03rODcbj1zmOY2O+ 8V3uq4S/8otRG4YsHuDQBb9hzcqc7PXpcON+A0m6RUcUKNnP0sMT6FbNGZcyQSw= X-Google-Smtp-Source: AGHT+IEEsqp5UV464bTdTeAxjMKq8Z5FkvCHJUu8BYbLycd5NPxtGmNemMLEB6zomqETecK2RSD2/A== X-Received: by 2002:a17:907:e2a4:b0:a86:91a5:4d09 with SMTP id a640c23a62f3a-a98f834cacfmr325571566b.26.1727873907262; Wed, 02 Oct 2024 05:58:27 -0700 (PDT) Received: from [100.64.0.4] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c27773cbsm857066166b.45.2024.10.02.05.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 05:58:26 -0700 (PDT) From: Luca Weiss Date: Wed, 02 Oct 2024 14:58:06 +0200 Subject: [PATCH] arm64: dts: qcom: sm6350: Fix GPU frequencies missing on some speedbins Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241002-sm6350-gpu-speedbin-fix-v1-1-8a5d90c5097d@fairphone.com> X-B4-Tracking: v=1; b=H4sIAF1D/WYC/x2MSwqFMAwAryJZG4jxs/Aq4sLaVLOwlgblgXj3V 1zOwMwDJlnFYKweyHKr6RkLNHUF677ETVB9YWDiriFitGNoe8ItXWhJxDuNGPSHHNaWXecWCh5 KnbIU/Z2n+X3/x5SwCWkAAAA= X-Change-ID: 20241002-sm6350-gpu-speedbin-fix-2fc32b4ba0fd To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 Make sure the GPU frequencies are marked as supported for the respective speedbins according to downstream msm-4.19 kernel: * 850 MHz: Speedbins 0 + 180 * 800 MHz: Speedbins 0 + 180 + 169 * 650 MHz: Speedbins 0 + 180 + 169 + 138 * 565 MHz: Speedbins 0 + 180 + 169 + 138 + 120 * 430 MHz: Speedbins 0 + 180 + 169 + 138 + 120 * 355 MHz: Speedbins 0 + 180 + 169 + 138 + 120 * 253 MHz: Speedbins 0 + 180 + 169 + 138 + 120 Fixes: bd9b76750280 ("arm64: dts: qcom: sm6350: Add GPU nodes") Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qco= m/sm6350.dtsi index 7986ddb30f6e8ce6ceeb0f90772b0243aed6bffe..4f8477de7e1b1e8ea5c4d193e16= dcdadc20eb4ff 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1376,43 +1376,43 @@ gpu_opp_table: opp-table { opp-850000000 { opp-hz =3D /bits/ 64 <850000000>; opp-level =3D ; - opp-supported-hw =3D <0x02>; + opp-supported-hw =3D <0x03>; }; =20 opp-800000000 { opp-hz =3D /bits/ 64 <800000000>; opp-level =3D ; - opp-supported-hw =3D <0x04>; + opp-supported-hw =3D <0x07>; }; =20 opp-650000000 { opp-hz =3D /bits/ 64 <650000000>; opp-level =3D ; - opp-supported-hw =3D <0x08>; + opp-supported-hw =3D <0x0f>; }; =20 opp-565000000 { opp-hz =3D /bits/ 64 <565000000>; opp-level =3D ; - opp-supported-hw =3D <0x10>; + opp-supported-hw =3D <0x1f>; }; =20 opp-430000000 { opp-hz =3D /bits/ 64 <430000000>; opp-level =3D ; - opp-supported-hw =3D <0xff>; + opp-supported-hw =3D <0x1f>; }; =20 opp-355000000 { opp-hz =3D /bits/ 64 <355000000>; opp-level =3D ; - opp-supported-hw =3D <0xff>; + opp-supported-hw =3D <0x1f>; }; =20 opp-253000000 { opp-hz =3D /bits/ 64 <253000000>; opp-level =3D ; - opp-supported-hw =3D <0xff>; + opp-supported-hw =3D <0x1f>; }; }; }; --- base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc change-id: 20241002-sm6350-gpu-speedbin-fix-2fc32b4ba0fd Best regards, --=20 Luca Weiss