Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp864497lqb; Wed, 17 Apr 2024 13:05:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxc763fCTZy4OcGNlV2g8pPfylrUJelTbKabaoIWYBSKVRh/YXyqCwqR1oGrDnf1VNVhw7mlXSvzrDYJrjSeF+Sw7rT1XDjfjGfzKcKQ== X-Google-Smtp-Source: AGHT+IHk628TrkT7gwZEwtwfcg4LUTj0s3HLeqV4ZQqO7UbxfyQ7PKHirVx+eTfT9+d2EK+3Dlrw X-Received: by 2002:ad4:450f:0:b0:690:d000:c819 with SMTP id k15-20020ad4450f000000b00690d000c819mr484065qvu.60.1713384309115; Wed, 17 Apr 2024 13:05:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713384309; cv=pass; d=google.com; s=arc-20160816; b=mzYTQjtY9Dj0Gn2bi64LrSD4ZhfZtodNe4R75zf3a7pN78YJZOvmtEo1ZIxifBVxcN s230cZ8gVAZhe0JupFjqPZ+xUtNqreeOE2c3NjWeXpisjXBEi0Ni7Xzh28lzwz1oLRCf 1sNXtkxFBgJtLUmuYemnsEpN6xMjoTrdEk8PVd5oi4J1fmUBFV6yBIximMd8PjxWyUKz eSsscEZomcqZbD3i9vwdEqPEanHVrT6cUzFOonufmLObN+yCTkK5HyWrub/XljfFzWAO EjVZFZgk1HRbQTD7V2zdrpIhKnkznlDQSml2Btx1K8nxDfi6c8Sn12G4wQMO6n4gl5KC DfLQ== 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=eu1lCQsHeKnio7sOaXuXrZB9Uomc0EWGgn8cJ3gmGiI=; fh=iYnYfpDmiFv4DJI/bOOlYBpBeUqzXDms05hl4nyi7pk=; b=k8He7es3xo2B325BA6fQjy3caO4NajGMHR7Ic51zWRiEpPWGQ4yaQic726/1s5xG23 NxlSieWpNQqMtd1sPEee/gjCuyNpG900SlEU1tJt3//QNRJgJhZ0fUjG67+fJsMUEGf9 DeZEdFxiYitIOZ7YGPJTuAoWD6Pz4WjgAGBEAkwE1jfgtwOlpNY6nVALcR1NGUOMcwlh AZUZT5I7XCY4jEZ+qhgvM1RrQ/0sFuB86VvGuhJKh87EgizZU8k7X03cnDyY77NbcXRk 5E7M0EOepAfqR9tJVIej63YiGyKMSAjZFFr5EfSPPgg2Kx3SJxYQOOlodiUr1O9ePYwO ViHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jODWByOx; 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-149156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 12-20020a0562140ccc00b006a0457660eesi2763258qvx.2.2024.04.17.13.05.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 13:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jODWByOx; 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-149156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149156-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B9A651C2228A for ; Wed, 17 Apr 2024 20:05:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AAA6172BBA; Wed, 17 Apr 2024 20:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jODWByOx" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 B04656025E for ; Wed, 17 Apr 2024 20:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713384195; cv=none; b=TaebAo03EjjyYLbSgoE7hBcZScbMqIJZ6Ah6MuX9K0E+OFt5PzCQl5Lf+ff3G7O+V1PFiYymw6bDc67IxVNry75Gff+3cSEsPD3T6dmIhgW1eoVlLO66f7MKMtw83qiGSJ/jmP6oAxu7ZKj3OI8k3LP4JzF3yKfiMqLa+Vmsd4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713384195; c=relaxed/simple; bh=npBgux6bk5AO5WT4DCEsUOpTuW4/rkHnMNv0Oi6y770=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZlzjwhOcmb53KyZ32MunwfovvWkrdK3IbBYUaClg8gsLXrQ5gkpAsVLCSHkCyTjY8RFNGJiZRJ4x9ilRsbM68lrqb3WOh/owJSL/u1XjaOCmlPAjcVeHrQPTP4H4SOC8cdoY63rQCoN40kTVfy24+RrIwNgwIgf9b30w4JSdxWQ= 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=jODWByOx; arc=none smtp.client-ip=209.85.208.46 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-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5708d8beec6so145706a12.0 for ; Wed, 17 Apr 2024 13:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713384192; x=1713988992; 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=eu1lCQsHeKnio7sOaXuXrZB9Uomc0EWGgn8cJ3gmGiI=; b=jODWByOxMHq+ndK+VtKvQ0rqxav1u4xqNuA3gJqUxjC5j3pO0yaYXHrqQrQGgBmLBm gYEe/XVoi4OuOvEaMGBy3zPLKDdkDJeSYXCZSyN10hrFClojoupmrgIRgEMrllXYvkRT AFEW2H85LkranW/0ggmcgTgMxShBWLg0RUBUFjVmyv+UJ0Ec0mqyCAbWMa6zmJTSf2YU oEmKl+qBXPhBKJyORjoCDUkmXDMn0OXBqaS9XgxZWzCLl/5cYda+3lpTpuybRQZsUsXH jK0oY+S0DoUoY02j4uWV8jPB2AZXo7nDRN/jfvRgwwDfTfDtgGGS1jrpOgFNWZfjDqTM cRew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713384192; x=1713988992; 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=eu1lCQsHeKnio7sOaXuXrZB9Uomc0EWGgn8cJ3gmGiI=; b=eclI5If1NHrxrqfUlRvwiTYs0m/PoGsSrjOyiOxzuI37C6tDhPAbA93jy4oo4VhrGm +mwetG4AAp0Z4C9hWEzBGEPYHksYKNJny5iJy2sqXorFrcVedULroron0qcwpv4gDF4I MGThELreMhWEZjATEytwoSnjrz74Y7cuRABWCzCg/36h2LD9LZuc2dykqBFRUyW+fzB/ g4lyH/6bJypUFVQ7tN2C5r7dSU5rYlg/YGjQiJyvZTkT90rR94GlCSaKkSdls8Wy6vF2 J9Q4aTYFsy2vI3iVhOqMOiFQZbND1l66wCK8gueGu7PaA2B3zwL2Eo6/mk9W0RlOR65w T5bQ== X-Forwarded-Encrypted: i=1; AJvYcCUWYL/P42VgeFo2cjS59sb/Knx7/eZjFLjJeHva8e+pkL+yCLx4YByEpfBG5ZNbzl5MKJg/pXIKHqmip96lP9Bz5csBYRhhpOaXRnr0 X-Gm-Message-State: AOJu0YzTI1DqbFHbByJFIWMBAKBAQKed9lbjbdZ/KkWFiH5qO/dho/8J D4S0359P9UrqWFe+sPNzv+eed6L9s2XRKEX4ZsmxkQnkywNhvGrAR3vH9/xRQppoI96xkFjhHQz / X-Received: by 2002:a17:906:f0c8:b0:a52:617d:d77f with SMTP id dk8-20020a170906f0c800b00a52617dd77fmr367738ejb.56.1713384191895; Wed, 17 Apr 2024 13:03:11 -0700 (PDT) Received: from [192.168.45.55] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id xa4-20020a170906fd8400b00a5252e69c7dsm5905590ejb.160.2024.04.17.13.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 13:03:11 -0700 (PDT) From: Konrad Dybcio Date: Wed, 17 Apr 2024 22:02:56 +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: <20240404-topic-smem_speedbin-v2-4-c84f820b7e5b@linaro.org> References: <20240404-topic-smem_speedbin-v2-0-c84f820b7e5b@linaro.org> In-Reply-To: <20240404-topic-smem_speedbin-v2-0-c84f820b7e5b@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.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713384181; l=902; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=npBgux6bk5AO5WT4DCEsUOpTuW4/rkHnMNv0Oi6y770=; b=ts7z6ZIKK7AXNNK+04lsJTke6GzCYGY4YjqPBzvs+E2Q9SC1gprs3T172vQ2M9MvAq5v0QKoP 40+y85UeVa6A+N71RkbN+f5uOrO831Eks8B8s+dyoqIMjDrvAsTCffT X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Add speebin data for A740, as found on SM8550 and derivative SoCs. Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/adreno_device.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c index 901ef767e491..3b631445c541 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_device.c +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c @@ -570,6 +570,11 @@ 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_AB), 1 }, + { 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.44.0