Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1136182rdb; Mon, 19 Feb 2024 05:36:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDacrNLM88+uQPPW9P+T8F1jEcAoTqwJr6P1Oobaqlk8iZhhjYQDIgkvYoMBsNo/Il1RUUy6hgk4cv7WByJayL+vQNRh/6VRb0pbGS6w== X-Google-Smtp-Source: AGHT+IFxTPtyjpPscEnAfYTdQVov0oZZCumPD7hcHdESxt245PGP0R9j3uy4P1KiqE7Ny2Bhht1d X-Received: by 2002:a05:6358:571a:b0:178:b97c:f087 with SMTP id a26-20020a056358571a00b00178b97cf087mr13766518rwf.15.1708349790288; Mon, 19 Feb 2024 05:36:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708349790; cv=pass; d=google.com; s=arc-20160816; b=HGp4qNQdqS1SW2AzbPWUKezz78Hu+eZZ0Y5tjvNAbLK/NrbLFBKVHSXkb+lJw5TV5q 7ZcG8DJM/L/i9n57R3lF+K1Y00n/8AqYVj4lEUbgKbHFVcjFP2EQ0rN0YmvfnX8dmui9 1fO1X6M/hYENZMtUAyI7OvDtqBL5ZPWGJkLrAJUp9XXSteLyYEkA+y3qFCOz+64hSsjD JkZLt8luDL68MfdT5d7vwbc43jmdbfMnkkvPxIE3TB7VIlRWQtY2O5oj7MFKRqf0i3h8 maCCZegLJ9vWp7MuLuksAXIRKongnZUQc2eozf7z9N40L/LCrjhTCNjZxs8iEnrTN/8X ZdoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=gcUcBFt3N1ktfXc1gPHrIeslPQYkGz8L1uvDW7LPc+w=; fh=vc5fabWG4+ZAEQzno4ZUwSRodjTcVIMnRmBLERi2TOI=; b=ezKNuGe9g2ZxxRMXp5ubbLKiP4E4D8MyHgNsN2UHL9ls/5GCpVgCFfxxBBpGtfCdV+ ouWKCH6szYkd2v8wdMaUjQKKjB9BchUyMU5fPyFwCRJYVmUNq71yngD55y0+IkqlHM+G L0dnjUbe6394z7mxASEDZ1oqliHLHk5NMcpFxP2iOrIFMwS0/Dw/+BiQDcVYZI2g8sOv MXBVq4LLorwtmAENawdeestN91ewjOU2ZyDs0zp1EXl4sMXbnuNwtDKypHMyCIBoPrFd ga4sCWCUsoFcLvsUt5U+SxglIxV2nnPmA0i/Mv+owv/p9Mf2ct2b/ptyM7V6HHYV5wBT fYhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Viz3U4m4; 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-71410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m25-20020a638c19000000b005dc4d8ef150si4415466pgd.512.2024.02.19.05.36.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:36:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Viz3U4m4; 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-71410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71410-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D10D028140B for ; Mon, 19 Feb 2024 13:36:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66358364DC; Mon, 19 Feb 2024 13:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Viz3U4m4" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 37E173613E for ; Mon, 19 Feb 2024 13:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708349766; cv=none; b=aTMQ8zSFYzaYBvkfQgcAsPAotKbsrS7vieGr5dcIzvTKTHfsYgbkPlohcVk4xv+QG93LjgrRyLyYrk/Cwr/8j3PVkkzGxrPweC/d7bnV0JCq9W4H6I8QC473v+Y8OCSDvvxizxTdYqiMHOpLt53y0fhYGdW94EHAOAHJK/Kricc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708349766; c=relaxed/simple; bh=WXBvHj3CA0v2OnyyONM79OOqbce5c/wCncuFj1EY8Yk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=mdQIAq0gZEUJAMVc11W0SzJNkCbritL2QzP/OT4osG+By/6feDzkxeq1RIPbCmfujxz7vZsHWtpKRcL2Q590JsEKXIYGngBmTwCDeA7CcC0ueNvZ0WKyQuyYksSl4+AeR0IGSY94CMuteBvajfAucswEiwqGbZK/1WM7q1CydRo= 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=Viz3U4m4; arc=none smtp.client-ip=209.85.208.52 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-f52.google.com with SMTP id 4fb4d7f45d1cf-5649eb3ab68so759339a12.3 for ; Mon, 19 Feb 2024 05:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708349762; x=1708954562; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=gcUcBFt3N1ktfXc1gPHrIeslPQYkGz8L1uvDW7LPc+w=; b=Viz3U4m4wojIT792Dz/VEHDXeyho8fhbbipT4+iKA2YFFfXS38nH6L4z+jtLhw1zAj 1SAbbdSs8nm8zShDQkhta/wawmXM9u6biTwIfW/JrQgk9vOe0dIQFTxpe1B8Eg/5hNzH fgrrid4RqaRRyocHObvOHqXb97MFIQCX4AF3KbLbK1yGjhhB65QOn+zeJLHx7fOh/dE2 aizVLDWxBQP4+k6p9Px3DmOp6N9KRGcNfTA0D9pAfpr0IyXxVe+07RU0NMksPxkMxXWj HC/h2zKNu+iYDAQeysrjreX+QH9KDRpQsdYj1teKFLa1NLLfbWDoAkXMTx2uXtgRArvx Z02Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708349762; x=1708954562; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gcUcBFt3N1ktfXc1gPHrIeslPQYkGz8L1uvDW7LPc+w=; b=g6FZfTrcc2OmNCHVzVaJOyk1Lj7Olm6+t/sOmmgT3wurgLkft1u1QBYqqDo+qzvGF0 HP/A5RAC7YNYORIzu0Y3xEFeQhuHm2MuXUMSBKlEck7fsD2bQYH8HVBZGEm0P5fNSOBv Y9iRVlBClw4f91oXDDXL4eEMoCkPu8vt3pJnkxK0sNx/2BSkpZIMwrmMbF0c1lQhd2eb d9JzhzkNevPe8kn3/hfooeMBjp/GHSkiyb0jBkiVkAkyIfL9ESp/hVitMCVLFr3m4jTI awxCw4RaEl9TMIuJP4eJEe7G3b2tpvYhtrGOFAhqidwxtuKhWwy6zuvy4WimEPxPxsEA VAEA== X-Forwarded-Encrypted: i=1; AJvYcCU+8cthsvUOh8KPb6u8Io/7+fF+Bsh94AJzas7SMIuG5qi/ucsiI6MGiH760ebhDH1iHA4U8QURMU9kBXCR7wH6WlOgF2Z6+GNaMNRT X-Gm-Message-State: AOJu0YxjwLGPrIj7Mq47oq+4MlsZYd1oS7NTuy4z6FyP/ygFMR45PqCu XaqVGlloHIC379XpdfkghXnx/rrggtHGzjzbh8Ixd+fW2Q0fZvJYjb0ZK0vBZ0w= X-Received: by 2002:aa7:ca42:0:b0:564:8a4c:6389 with SMTP id j2-20020aa7ca42000000b005648a4c6389mr1158711edt.29.1708349762517; Mon, 19 Feb 2024 05:36:02 -0800 (PST) Received: from [10.167.154.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id q29-20020a50cc9d000000b00563a3ff30basm2900168edi.59.2024.02.19.05.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:36:02 -0800 (PST) From: Konrad Dybcio Subject: [PATCH 0/8] A702 support Date: Mon, 19 Feb 2024 14:35:45 +0100 Message-Id: <20240219-topic-rb1_gpu-v1-0-d260fa854707@linaro.org> 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 X-B4-Tracking: v=1; b=H4sIADJZ02UC/x2N7QrCMAwAX2Xkt4F+DKm+ioi0MW6B0ZXUiTD27 gZ/3sFxO3RW4Q7XYQflj3RZq4E/DUBzrhOjPI0huDC64C/4XpsQavGPqW0YmRKdU3QxjWBNyZ2 xaK40W1W3ZTHZlF/y/U9u9+P4AeWy2Vh0AAAA 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=1708349759; l=1949; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WXBvHj3CA0v2OnyyONM79OOqbce5c/wCncuFj1EY8Yk=; b=09HBvpU95Fn5jEyPMGkTjAUJ7bgcBbYWScXmo1xRIJoHiVGqrahpUaQv4TEKCcp57yd+6yD83 XmQfcZAl71LB20l4ZsL60dx0F34PqpOR8hRCzmP4MVy3+krdyvQCBY6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Bit of a megaseries, bunched together for your testing convenience.. Needs mesa!27665 [1] on the userland part, kmscube happily spins. I'm feeling quite lukewarm about the memory barriers in patch 3.. Patch 1 for Will/smmu, 5-6 for drm/msm, rest for qcom [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27665 Signed-off-by: Konrad Dybcio --- Konrad Dybcio (8): dt-bindings: arm-smmu: Add QCM2290 GPU SMMU dt-bindings: clock: Add Qcom QCM2290 GPUCC clk: qcom: clk-alpha-pll: Add HUAYRA_2290 support clk: qcom: Add QCM2290 GPU clock controller driver drm/msm/adreno: Add missing defines for A702 drm/msm/adreno: Add A702 support arm64: dts: qcom: qcm2290: Add GPU nodes arm64: dts: qcom: qrb2210-rb1: Enable the GPU .../bindings/clock/qcom,qcm2290-gpucc.yaml | 76 ++++ .../devicetree/bindings/iommu/arm,smmu.yaml | 3 +- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 154 ++++++++ arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 8 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 45 +++ drivers/clk/qcom/clk-alpha-pll.h | 3 + drivers/clk/qcom/gpucc-qcm2290.c | 423 +++++++++++++++++++++ drivers/gpu/drm/msm/adreno/a6xx.xml.h | 18 + drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 92 ++++- drivers/gpu/drm/msm/adreno/adreno_device.c | 18 + drivers/gpu/drm/msm/adreno/adreno_gpu.h | 16 +- include/dt-bindings/clock/qcom,qcm2290-gpucc.h | 32 ++ 14 files changed, 888 insertions(+), 10 deletions(-) --- base-commit: 26d7d52b6253574d5b6fec16a93e1110d1489cef change-id: 20240219-topic-rb1_gpu-3ec8c6830384 Best regards, -- Konrad Dybcio