Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp588694rdb; Thu, 30 Nov 2023 12:36:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5kE1R/YeQzAW5LQ3unpmvK6e402IH2tXYktMjpbkdabKyDieKNufA1fkhciQgaAWIlaoe X-Received: by 2002:a05:6358:e489:b0:16e:29cf:33b3 with SMTP id by9-20020a056358e48900b0016e29cf33b3mr19871589rwb.30.1701376575479; Thu, 30 Nov 2023 12:36:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701376575; cv=none; d=google.com; s=arc-20160816; b=GjKpaLGSK3uKKJX+iI/FWIDuI/bHk621G3fX80YHFIGLQHumSb1tCdtrJT+MZ+YD3Q +GAjA+1FrW2stBMZWb9xvO9UWrJeY6Lh89U0eo/dRLpwfANRVRi5kmKW6TWLxy7DLeuU d96C4dXi2DGApqQgkK5ziXz2XEeCECRMgdD1DIg83rXGM5yo7nK9gsq2ETW8IeQqBCai CutYahGYxThCa++uw/PdyZ6282PoD9MO03b2fO39CUCbH02cOIFNzxadIPPoh75W+pRD h4g+E43LQfXI9+LTdOyD/POkV+zT8ycoOjq5q+FQXUfBQyEzXbQUhCPcwPXaa0gf4slR m4oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=pxlGQqT8SMpKOLb3TFFPsefY1zCJNqfuPPqytUPygsU=; fh=+SRI1VeKmVaGGYxg8slCD/uOQWHdJo2H6VxeCiWFGUw=; b=Urt+x0ueVyvp04oGtdbWzQ7IgvMwWrZITvspO2w61eceXo0ZEoncFx/GisxKWcWN67 qQJMHans0mCDk6x9bNtJHErgEee4duS2Fxa5RCv4Ro/5sSNZ3uOxXKLAv+fyyH5vDzOK i+vNkdowPAuvnyLyb5Mb/+ZDBxGs39r91R5au0M/r30LycxeWXRaqHUPLByJBP5LVZxC dqSAgUvcznxE+EA4Bz868Ju3OHQILAPsmQ7u9cqTt9BuVfL5R3JH3u3WL1xhx1xCOvpF CXRNfV1dRIWyPMI3X1SCZpzlAxmNp3k8LxLBtiAgsQBHWRka4KwK3CQOirnrNH8EG5yF L0vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=S64T9aAZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 80-20020a630253000000b005b8ee1c0c68si1914409pgc.605.2023.11.30.12.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 12:36:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=S64T9aAZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2F2E180AF83F; Thu, 30 Nov 2023 12:36:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376707AbjK3Ufs (ORCPT + 99 others); Thu, 30 Nov 2023 15:35:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376813AbjK3Ufr (ORCPT ); Thu, 30 Nov 2023 15:35:47 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4288C1712; Thu, 30 Nov 2023 12:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1701376551; bh=AfUfFkZlUVV8xnA1PoNR+te0G++zGye/8BENKSIEvPs=; h=From:Subject:Date:To:Cc; b=S64T9aAZQ/Y0yXhmFaL8xcNLp6L+jqL5h5lAEpxWZ9qqzowKOb3UObrMgWnFiFGfF hzmUeQ9PcyDcUIgWGZwTPn03S1EpsojK16kGmwlVZj2TCIqxCB+I3onx4WZ95yUG8Q dvM1AODbTmJVL5MtxwMj/lPX+SUbV9XgBpSUuMJo= From: Luca Weiss Subject: [PATCH 0/3] Add GPU support for MSM8226 (Adreno A305B) Date: Thu, 30 Nov 2023 21:35:17 +0100 Message-Id: <20231130-msm8226-gpu-v1-0-6bb2f1b29e49@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAXyaGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQ2MD3dziXAsjIzPd9IJS3WSjtDQLE3PjRMu0NCWgjoKi1LTMCrBp0bG 1tQASSii6XQAAAA== To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=860; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=AfUfFkZlUVV8xnA1PoNR+te0G++zGye/8BENKSIEvPs=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlaPIX4qWS7sr58b9UMT9Pnw41UlYig//AX8prq MGX0XqPg0aJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZWjyFwAKCRBy2EO4nU3X ViqxD/0QXEuGfMIQ8ksMhfE+hjDJ2k4hub4zyzhOzFTU33niAmwPkSxHI1bvfOlNdYGzjeqMz5s hb8OKR0WCGJwEvqDUoCHyx/H+p++pz6FnSHfzkY19nec4uoo0jdIgM+m+tEwudIt+yqa2Vw5KJh ysdFh+Tq9Osk6hMY0SPuEGMrPpmS6RO0FXsk7D+6uBRbmUQoas7DNtkYIhwLSky3t/rBGrccgj8 aH5SbYIJrU+It8v/yYrNThPpcy0meGqX5h12moUxgS0DMuazitdLBs4rmh+v3v9UblOkm4NKqCi 1Z3rb6vyvy3aXQwoANEDVPAwZqmWs0t4n8DgT/laDQz+PdG8MGNY4lAmC8irjxWx7UGy1Q0+w+2 nafqOQvMnxoJOX3oYlrogxiRtvB/GZlaJq4snkBfVTaqVrlOX2To/0xmn9zC5a3IyuXhRk9Yw/7 JqQzuhrZY3EOQHhYZ6ry73NqU0Uej3Yu/is0UfapQXrlI4MjSgqS1PhS92ZwsnTFugyLxirKxYo opr7+JM+iLKBo15zNyE+Re4UNN63qutzh0R7KKTmz9qwKkF7y3JEJ2gPb3JcwoW01covleYfw67 +77P6N7lTj7Pz+Y3mHeFKgHLhhKbYJwMQdg9y3iVSEKb1u+1bMpTmVQMAgRK/ev6XK+xt2UQsQC JtPMcpvmyKOgecA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 12:36:04 -0800 (PST) Add the necessary bits to bring up the GPU on msm8226. Tested on apq8026-lg-lenok. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: display/msm: gpu: Allow multiple digits for patchid drm/msm/adreno: Add A305B support ARM: dts: qcom: msm8226: Add GPU .../devicetree/bindings/display/msm/gpu.yaml | 6 ++-- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 40 ++++++++++++++++++++++ drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 15 ++++++-- drivers/gpu/drm/msm/adreno/adreno_device.c | 15 +++++--- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 +++ 5 files changed, 71 insertions(+), 10 deletions(-) --- base-commit: 32bbbdc6dbe6ca65a3e3e2ed2ca3c562793e7797 change-id: 20231130-msm8226-gpu-c2ff8473a9ff Best regards, -- Luca Weiss