Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp535911lqr; Wed, 5 Jun 2024 13:11:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWofS8KAuIaPOEWLvxHueFE24Pd7UyDUwQtI5o5LZ+rsrBc0AzpCpu84nCvOSPv1pLSDstRUg18lryshdgQ+wWeIBKjA774hdR8h8YEdA== X-Google-Smtp-Source: AGHT+IEmdRRLRKsy8pDsGGzOQL/slenf5u3sCGfwet5V9WUjR0AfidvD3aORaUA0nKo8c2cIVfbx X-Received: by 2002:a50:d657:0:b0:57a:2742:de36 with SMTP id 4fb4d7f45d1cf-57a8bcc5dcfmr2109564a12.35.1717618297831; Wed, 05 Jun 2024 13:11:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717618297; cv=pass; d=google.com; s=arc-20160816; b=UuuPTOzQ6/gtRCNDLoyzZYgJk2jWHKNfS672Q5t1aZDjcAfdVMWi72+Jn9gbelisqV mlHmUme+ty69fyHG0dIsVnlLZXnfRngHp71mKiZ/MLfVXyOdt1WTENTIRkrREM4ijt+B X12FRyH21zF/XrWMIttZYACINwYdATPsvmRKTe1R+P+6zOLkkQVy0y3Hph9NpNXWZYMd OIIQmLyPr83YsnHttqfV7nBbatgMiQLBqr19ob8bjdKYJic4GRwHNdy37FP1fG8LxzHb vu2SO1U93u3sercdy7xEiMAx8ILFrWkRFSddgat3Ng9XkH8SGSH9ecqhYF2j6ljYm6p5 uhyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=rsxI5OJmE2RBtxZTRf/cc3jqaLSF49oqnXau0+l27fM=; fh=jO0QNR4/oN3IONTXCouj6DVwxrUZKLbnL24xveIS/c8=; b=Jkb6n4R2P29S4fRNRyeaKyum2Gw8G2Lp1AJLtMzCt58jymFxejNenE1tOdnc6zbCEA Fn311ZM8KVSWBWCGlHKlWYMeAmvQ3X6mNISABJtLTpHKik6lA/a7gr+Xpe0j1Bw044mh 4ww9eSiJ3sQ8WOi8UwXh1Cd78PsTjHHrUOruqHIUIW3b6A2AF4Atk+lqldaaEK6Qpq1j oswfIgLYzHhTVDPbZzrzb59ep6Q9ZWINg+EYcWUnhkpbItBZ1X1yHoXrAdF1deF6NHnV dasW2Nd4vjv5QtNdKtGeXPdcGwv5ZayAiCfXGkSVbV/I7MhdLFfGINysyIjvurUTyQLy ZyLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KJuLXgkC; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203154-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a8672092esi1882640a12.495.2024.06.05.13.11.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:11:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203154-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KJuLXgkC; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203154-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 72D6D1F24B21 for ; Wed, 5 Jun 2024 20:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4998F15E5A6; Wed, 5 Jun 2024 20:10:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KJuLXgkC" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 A0B2F15D5C7 for ; Wed, 5 Jun 2024 20:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717618233; cv=none; b=mwDrtNyAguSM3pwLGxj0+4gJyhiBGj3BW7JVMQaz0ED6GzpZPIF+v7TCzT1fOl4MOiFru5DMtU+M8j0iqgPAvFuLysj0Xq/AJ37zN17yxZmkQwd/GoF5F/l2YZMV6rUQZQtwxMqn6iSrpOWZ4/pLxMwxL/N2UbFZvPGXz5VH+1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717618233; c=relaxed/simple; bh=XvP/BSatzMPPQUrvM0ONiFzdTKIB5gWlXrgEDOGJq00=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sw4pCDRi7tAyIEHoaQbI9Peku9VYgioIZdOXuVCPwtvnrToeQ3R1eHV3tBaPIAkdVCJNWDkIOJjaCimpJMFApzAaLp7VrlFK89yN4dRU1B7eS9hejukZML5BZK9PLDlpxwtiypfAQnwr8SbjPCt8veD+NwBRKXvaigk/rjOxMRw= 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=KJuLXgkC; arc=none smtp.client-ip=209.85.208.170 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 Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2eaafda3b5cso2765471fa.3 for ; Wed, 05 Jun 2024 13:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717618229; x=1718223029; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rsxI5OJmE2RBtxZTRf/cc3jqaLSF49oqnXau0+l27fM=; b=KJuLXgkCD43NHL3OBkv375oEhKOlIT2afDkq3oQdis1ki/WbeUuD8PgBUO+tXEWGJt YCJN5SQVJnGW+b7zimg0epzMmyvo2KT0DrF5hg+MKOaEFClNlakvhNC8lh2Q4+8Nh086 9ebON9WhazR/Ojk4CSgB14eYHf/yWVMbLgsshyRGEvgh1vmHEYHLnsA5KVVtrWretAFY SvjVWpP0OMj7Rn7mmqN+u08QzcltJ8eNLiXeJbjQ3EmjdV2+YRj37aowPvlch+0/6QwB P9syLN5XlTaiX4hIAvQld+W+3XuY8evkU2xQ41WlpvUACEmn/spslAZATmo+/otMvzx4 QXsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717618229; x=1718223029; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rsxI5OJmE2RBtxZTRf/cc3jqaLSF49oqnXau0+l27fM=; b=m7SmPz9MHg06oEfwIGULmVScgZ71rfbgxBxQhTc3E2GbfeKN9hJR3MG5nc/miXNku/ drOScaIQLwqVxtoEoz2Tf2r4D94pAEPBW+C0maRsIFL/XRzzF950XXRaGghVMoTxVQ6s 7q2Smnx/PoiDzaPxP7yY3f+ca4bpj9WrKC0sq0dJneCnfF2liWTtpPt4cZuz+CrmQuDt FQK21JkEYRburJTZAQnSVFmcYyG/FfmnKgvtsEsfQ12RzhAfNaBqk69gz0XueyscklXB cVkgLWKTHQr5WlQFLR1lyQEmMh+VBshTMYege07qYa+bcgxsAOhMt60TD1O9QvaTtnbB u/3g== X-Forwarded-Encrypted: i=1; AJvYcCWSAPcVyfZfwwG1rx5163Vp+YEDxewOA0JUYD57aVnmgt3EUnCtqNurtlqWQPxUFa0m1Y9GhCzT+JQwWyggAERrf3pKYSLdITf3Xo8d X-Gm-Message-State: AOJu0YxwlwCnfudprI0UvFX+hzyJZMqrIPx0e+ZLks/zyupVdlOm6v/F x4IcF5my7eAfxDsNU7qdVv9XaYbYjlRBpXxm02GJV/WWqqZYTj/r4DqpBloBZqDkLNZWCTUE3pk 3dk4= X-Received: by 2002:a05:651c:b2a:b0:2ea:d142:d2b2 with SMTP id 38308e7fff4ca-2ead142d3d6mr1982801fa.34.1717618229093; Wed, 05 Jun 2024 13:10:29 -0700 (PDT) Received: from [127.0.1.1] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31be4e36sm9717473a12.53.2024.06.05.13.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:10:28 -0700 (PDT) From: Konrad Dybcio Date: Wed, 05 Jun 2024 22:10:17 +0200 Subject: [PATCH v2 4/7] drm/msm/adreno: Add speedbin data for SM8550 / A740 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: 7bit Message-Id: <20240605-topic-smem_speedbin-v2-4-8989d7e3d176@linaro.org> References: <20240605-topic-smem_speedbin-v2-0-8989d7e3d176@linaro.org> In-Reply-To: <20240605-topic-smem_speedbin-v2-0-8989d7e3d176@linaro.org> To: Bjorn Andersson , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, Neil Armstrong , Konrad Dybcio X-Mailer: b4 0.14-dev Add speebin data for A740, as found on SM8550 and derivative SoCs. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/adreno_device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c index 901ef767e491..e00eef8099ae 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_device.c +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c @@ -570,6 +570,10 @@ static const struct adreno_info gpulist[] = { .zapfw = "a740_zap.mdt", .hwcg = a740_hwcg, .address_space_size = SZ_16G, + .speedbins = ADRENO_SPEEDBINS( + { ADRENO_SKU_ID(SOCINFO_FC_AC), 0 }, + { ADRENO_SKU_ID(SOCINFO_FC_AF), 0 }, + ), }, { .chip_ids = ADRENO_CHIP_IDS(0x43051401), /* "C520v2" */ .family = ADRENO_7XX_GEN3, -- 2.43.0