From patchwork Thu Sep 26 21:16:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonino Maniscalco X-Patchwork-Id: 13813663 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A83B4CDE038 for ; Thu, 26 Sep 2024 21:17:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 34D4D10EBE1; Thu, 26 Sep 2024 21:17:08 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="m5uXZUfh"; dkim-atps=neutral Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id F3A8810EB73; Thu, 26 Sep 2024 21:17:06 +0000 (UTC) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a8b155b5e9eso208893766b.1; Thu, 26 Sep 2024 14:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727385425; x=1727990225; darn=lists.freedesktop.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=ldGMJhYsL8c9rqqEBChMP49Ah6Uz0hcKz1Q6jQxPKuw=; b=m5uXZUfhxpn6Z2jSQNaj2/CQKn1xAx22qzb05w6sJ3apOJJPhBfR0tuHybkXibJMbK RoVnFm54J0f9Xtx0hDNTocd0pe4NVFeQKIGFrGJ73g3L26n9xlAHSNYyL64q90I/3vHh LhZY5SrQ1j6jS6qVPBRYwWeIRMm26rhPdrjRjelvtAyD5JHIYYSPan6lPvU+I203qmJo EbZpEcF/QsxWCExZU6+pAUhQs9Njf9SfW6Pk/nm09X4h+Brx4XVY4edp0bcwHMqs17Vy y+t9VsZYa4sxLfBVIfK7zO6NrZWod4qR5BqYN0wYN5iuN4zZQsyscNIXhvhlNVtQlXzQ y6YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727385425; x=1727990225; 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=ldGMJhYsL8c9rqqEBChMP49Ah6Uz0hcKz1Q6jQxPKuw=; b=ZY/nWhOB2397tLPHKby5cHAYZ5Tkk1TSpmV8ot9r4/MjwVDudojcMTF+1qSrsjS9AD 0DdGZxgk5sIdU9cgWRRp2Sx2ezI+R/DIrvBfE5I9ZdAR0Pgprh3eMogaVIEM31KA6m7u 1+EIj43IBYQ36gW7sc9wQfDKIhHB+bW6XFGtl7FhwOOvlF1S7oHZxULFpv2jQVoLbZQe 7k9XXgOWEBSUWOgOnm9C5HRBh5VQO/yOmjxcWa89vR41uUz/rW0NbmIC6vUZF45L+qbv xogAbF0Uv+wpRFyVnyRm74W9nH+IxEoFzFbQD+FSQZSg5KcjpR8370fn7ia4as1EM9N6 oM4w== X-Forwarded-Encrypted: i=1; AJvYcCWTTaBRAHDPfAgD1i0JN3hsGHZqt2RDZ1+I6isbVZwpeNgi7wpRI8H1OQ6lkLieBDg2jwv/knOd2hz3@lists.freedesktop.org, AJvYcCWizFH9DOgneiW74EPPi6qBJIXnFxDB52JMW39P9suKILkbvKl/S5jP1ynsBw11FvouMC8meRW7JLY=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxFmTBqf2k/AcPMJsFquRSO3qbP18viRxitzMuJGoZr0tga2euG VhI7Cvgoq1tMHDiC2ovQ/3GR++Udn6Q1k8rqpJU1wpc6pfcG5pEy X-Google-Smtp-Source: AGHT+IGJuQv7YVMS3b76MEqSfxuMWDwIlk6D91pEby+w1aoMgw03XSMhXb0YzT7F1DU6/Zg7342Zkw== X-Received: by 2002:a17:907:944e:b0:a86:743a:a716 with SMTP id a640c23a62f3a-a93c4c2791fmr66290166b.53.1727385425193; Thu, 26 Sep 2024 14:17:05 -0700 (PDT) Received: from [192.168.1.17] (a-lu6-5.tin.it. [212.216.221.196]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c297b7d6sm38862166b.162.2024.09.26.14.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 14:17:04 -0700 (PDT) From: Antonino Maniscalco Date: Thu, 26 Sep 2024 23:16:48 +0200 Subject: [PATCH v6 06/11] drm/msm/a6xx: Sync relevant adreno_pm4.xml changes MIME-Version: 1.0 Message-Id: <20240926-preemption-a750-t-v6-6-7b6e1ef3648f@gmail.com> References: <20240926-preemption-a750-t-v6-0-7b6e1ef3648f@gmail.com> In-Reply-To: <20240926-preemption-a750-t-v6-0-7b6e1ef3648f@gmail.com> To: Rob Clark , Sean Paul , Konrad Dybcio , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Antonino Maniscalco , Neil Armstrong X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1727385413; l=4033; i=antomani103@gmail.com; s=20240815; h=from:subject:message-id; bh=+/10yM8zg55qjZOGGUuysVO4iKnvZxJ8Izq/9aSEglE=; b=gv6nI52xnz/kVdnR4lknsl1zvWz6DMg5CLSswnLhy7uzKDs/Q0RBB+cyObaTHSc4WqCXO2BUp lTFtVlekgn/ADxnw+Pk2C5DRcgYrJP+SIPr0vWGcEUNSiFA8mQaz0Wn X-Developer-Key: i=antomani103@gmail.com; a=ed25519; pk=0zicFb38tVla+iHRo4kWpOMsmtUrpGBEa7LkFF81lyY= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" In mesa CP_SET_CTXSWITCH_IB is renamed to CP_SET_AMBLE and some other names are changed to match KGSL. Import those changes. The changes have not been merged yet in mesa but are necessary for this series. Tested-by: Neil Armstrong # on SM8650-QRD Tested-by: Neil Armstrong # on SM8550-QRD Tested-by: Neil Armstrong # on SM8450-HDK Signed-off-by: Antonino Maniscalco --- .../gpu/drm/msm/registers/adreno/adreno_pm4.xml | 39 ++++++++++------------ 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml index cab01af55d22268ccf88f1a5032b6081d8e4e475..55a35182858ccac3292849faaf12727257e053c7 100644 --- a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml +++ b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml @@ -581,8 +581,7 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> and forcibly switch to the indicated context. - - +