Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp103923rbb; Fri, 23 Feb 2024 13:23:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWIzM+ZHe44B7WEmGJo0Oll4jDaketPYGkh8LUGk+3XD2cuktKcO18iNNNQwdz+sPRdZeDHVTPBMBCGKt0KtfFmkdLMwclZBzpdqjCpLg== X-Google-Smtp-Source: AGHT+IHys21RfyBu3Q7MlImsEnjVpvq3J3HNuSEDfE8b8HF7kYOIxti+LnqDiV9zUSyXehTcNlwV X-Received: by 2002:ac2:414b:0:b0:512:af50:8290 with SMTP id c11-20020ac2414b000000b00512af508290mr579371lfi.8.1708723382396; Fri, 23 Feb 2024 13:23:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708723382; cv=pass; d=google.com; s=arc-20160816; b=dHw7s9FG0iOh6qMMxwl0XvUvkzNlpYV2c8peck433+McE77Hn/t10+FJgyC5rs0Qmb iIso9J4Ry4R9gogsfCohKGwi/3haENZ1WWR4FRQeRcTnA0Fg8sPx9AHRYqzJL6i53wzK GCstus8LmG432H5jgWd1ffHAD4J5CqAN3XlcC98sweegPlDb/H09IhZHYCjMZgqxWkYI gxERISbO6kb/Qt2oZIYIUipubHzLsxiAxTHMBTg3nQmTGtx5ARgPuDVRTeTYhZGTE/nD pHJxEZd+qubi8feWXqdIJwJ2BeYG4dPqttL4oJm/lGQYvKj95lEpnK++OGlWmc/cQNxe FexQ== 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=mjP12Zq06nby7HMeSJ/EUbYJ63ENO6BkYD8FuiAok6w=; fh=zYI++kMRZJW9h8FHdXCQdC8U7DAE1/JwAQqcGcUycLU=; b=gbAwDJzJ5nxBx4C5qHl4Te2Zb75+tuWiNSuxJASmikh5TQg51TII0OnaASeI3ppCzO nzoQ/UdFYCPY+Jfdp630PYvdmwbVwpvcH1rkVAeo/8juF5CJobw2s+Y0AR/8XPgW801v S2xOvN8zkv73LA8rzt+hpL95s7oOleb0XpZ662Ot4T6vjw/DvtVllRxg0WvfxaTfmudZ lSbL1uoqdOjJja/71Q5zACFk0KNkPWIJJVS7qgz8g53fKqtuqTbKizgHUwzbUSaYAEyv Gvp/Bc6c0wG7nUu4yp2VpXbecWkjmwYwBqszV9zGj50Zb4uPUyGx9iq9ogR1G0myOfuu iQwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjoY4Gq7; 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-79200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79200-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qk40-20020a1709077fa800b00a3e97d53877si4951764ejc.45.2024.02.23.13.23.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjoY4Gq7; 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-79200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79200-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 0D8B01F25D61 for ; Fri, 23 Feb 2024 21:23:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4456714DFE7; Fri, 23 Feb 2024 21:22:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NjoY4Gq7" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 5400614CADF for ; Fri, 23 Feb 2024 21:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708723320; cv=none; b=P+Mk+YtvOj7Bcay64J01o2avxriEYUi/f1AbcwTeiJbxwyrU3ZjHbTGi+oEhDtLfo+17PPBRmzFBGnidDJuT2cZNSnGyc9+WRUM5P6pJGRN27FISJ+QI/Hwze/3rZEDn9HM6RvOAr07zjbRnNU2u8O5LU3Qk95ucplLTO3nv+Qg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708723320; c=relaxed/simple; bh=2VUaTHaFXwk9sVr7gsAachnQpNO5KMem0UoFA2HST7g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p/Lipj2gu/Oat+8T40hrieKQpFcMFE2Yd9PRlEMrm95N7c7DQeEK6zy9cnuy7dOuXjLRn2UbhB7ITQ4LvT/XRg+N6IJcFAsbJotzBQcGTVRmc9YG7AS9uT6UC+IynEGj9smWBvwC8TZ63mn58akBj1zeyZVPTBQjItJeB6WcGIo= 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=NjoY4Gq7; arc=none smtp.client-ip=209.85.208.44 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-f44.google.com with SMTP id 4fb4d7f45d1cf-564d9b0e96dso1052848a12.2 for ; Fri, 23 Feb 2024 13:21:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708723316; x=1709328116; 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=mjP12Zq06nby7HMeSJ/EUbYJ63ENO6BkYD8FuiAok6w=; b=NjoY4Gq7tD09lIHOstdTRf+CWwtCYyM+GpTatqDGB73cnLflAt1JVMWF8YroEs1Zcf jrXS1jPbggHQhdq7pPWCFnIQRbaVbrccubaYZpaB4LikBOARVTY7t6JCgNg+utZPnsXj YEvVz+vkmxaIBhfOG4FB3Z1gkr4UG01eXYU7a1miz1TAC0dWfNSHkD6r+uH602Ddp9cM QK7IfQANmMry5ysODReKKcREk/ZM/LsmXhC5rMWsdZ5lHy9rgIBqwGej3WHyX2f9HAub ErhveSSCwEV9S/K1oRKMfWAMdsAVS5jcGloEwLfgGWfdrzvS9aSnJTHc++siv2+eY3TP 52Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708723316; x=1709328116; 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=mjP12Zq06nby7HMeSJ/EUbYJ63ENO6BkYD8FuiAok6w=; b=wKcejmEjrBbJ5TsLjFgF/aojQgu8BUSSmzXR3PHGlIS9sImzFpWqHBiyMtZMCKPCVY TFMGsXd6tPBci4sddi5u6kizVzffEfFSEkr8wZPmQ6mAr/c1M4unH01c6kED1013aX7w ENuw7MryFdocfpkqLHA/id6TmTViBEVQ0dLC04daiLP10E3wfHC60KyTojsXEyMXQWah NN7kmxP70idpatfdHAY/l0D2QgtcWm+kqk+Zou7l/i8QKqmKCyFGAHcfNyAYOLZy08fM eym53E1WGZt1URf0rUhdb/zddY4KGpmlTBKYZCjyLE4SGV1Pdpi3oIbbe2hACo1X66IV BChQ== X-Forwarded-Encrypted: i=1; AJvYcCUK6/FNOyTzc84SEYa2RX2a/G296JYpfpdLRrHaKkCr/Wu3HL3hJr7S8fkk1cq7wl7k1QlCkKfH6IcdMon9rL38GozRcZtzI3svlnlL X-Gm-Message-State: AOJu0YyRuWbFwxifM3J3yNEse8pCDn97Nb9Fsj2yEwMA0auk62vHZ3Vd mjQtdStR4F8HVKqJkEVadgx8IqLcLftRSmlcOgGh2aEhwyjSQSDqRC6Ppbwzaw8= X-Received: by 2002:a17:906:a38b:b0:a3f:721f:a7ac with SMTP id k11-20020a170906a38b00b00a3f721fa7acmr600921ejz.45.1708723315809; Fri, 23 Feb 2024 13:21:55 -0800 (PST) Received: from [10.167.154.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id mj8-20020a170906af8800b00a3ee9305b02sm4091226ejb.20.2024.02.23.13.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 13:21:55 -0800 (PST) From: Konrad Dybcio Date: Fri, 23 Feb 2024 22:21:40 +0100 Subject: [PATCH v2 4/7] drm/msm/adreno: Add missing defines for A702 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: <20240219-topic-rb1_gpu-v2-4-2d3d6a0db040@linaro.org> References: <20240219-topic-rb1_gpu-v2-0-2d3d6a0db040@linaro.org> In-Reply-To: <20240219-topic-rb1_gpu-v2-0-2d3d6a0db040@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter Cc: Marijn Suijten , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708723303; l=1379; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2VUaTHaFXwk9sVr7gsAachnQpNO5KMem0UoFA2HST7g=; b=NXYDavFJ3TC/4KiU+OLYy06EnXZgFmyjLCFX7iZKoUTbin8UI3o1WKHxiAxISRJ/Lpa8whlgL OmvgcvRyQ93Bgd7cMUYUQkgAXoezpOmzuvOSNtRIQf2InPOAkx5rZ92 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Add some defines required for A702. Can be substituted with a header sync after merging mesa!27665 [1]. [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27665 Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/msm/adreno/a6xx.xml.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx.xml.h b/drivers/gpu/drm/msm/adreno/a6xx.xml.h index 863b5e3b0e67..1ec4dbc0e746 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx.xml.h +++ b/drivers/gpu/drm/msm/adreno/a6xx.xml.h @@ -1945,6 +1945,24 @@ static inline uint32_t REG_A6XX_RBBM_PERFCTR_RBBM_SEL(uint32_t i0) { return 0x00 #define REG_A6XX_RBBM_CLOCK_HYST_TEX_FCHE 0x00000122 +#define REG_A6XX_RBBM_CLOCK_CNTL_FCHE 0x00000123 + +#define REG_A6XX_RBBM_CLOCK_DELAY_FCHE 0x00000124 + +#define REG_A6XX_RBBM_CLOCK_HYST_FCHE 0x00000125 + +#define REG_A6XX_RBBM_CLOCK_CNTL_MHUB 0x00000126 + +#define REG_A6XX_RBBM_CLOCK_DELAY_MHUB 0x00000127 + +#define REG_A6XX_RBBM_CLOCK_HYST_MHUB 0x00000128 + +#define REG_A6XX_RBBM_CLOCK_DELAY_GLC 0x00000129 + +#define REG_A6XX_RBBM_CLOCK_HYST_GLC 0x0000012a + +#define REG_A6XX_RBBM_CLOCK_CNTL_GLC 0x0000012b + #define REG_A7XX_RBBM_CLOCK_HYST2_VFD 0x0000012f #define REG_A6XX_RBBM_LPAC_GBIF_CLIENT_QOS_CNTL 0x000005ff -- 2.43.2