From patchwork Thu Nov 30 20:35:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 17362 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp668985vqy; Thu, 30 Nov 2023 12:36:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX12H1HhLgFsWrfL8Y7+N1Li8A20FxILzsK2HGsg/kmiw6okR4KMJmvoTUxGZ31ZumuPLD X-Received: by 2002:a05:6a20:320f:b0:187:4a56:99f3 with SMTP id hl15-20020a056a20320f00b001874a5699f3mr20690574pzc.20.1701376575284; 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=LZmSk+lrets61qT44/Yt+JQbmz8QkjA4qul5YxBrXm/yS3xm97OImjY5jm82Vij0YY 8e2yTrjqBNlEoFdMDN/V/aZXwpWzqLPC7YAk98ngMRpWcKvuFVXgHh9s30yatxRuUZi+ f+NG6y4C5cUM5Z9mhg1Z6OpWuFm7f49NXBDFEsJIT+tZR5h2JrAEvAn1OhmZrktN2sdO J5Gy/oL53WamS1NyuPOdN1zEJhTDR98ikCD0G3m4vdYNOAH424xiqWBUXtpakaQ8q7c9 LCh7ZstALKF4fE12iEQKEuoBJ1tm8eubk4pUQPgVlbhNNZDrxxlfC7c+F2lOJ8Me9uV8 HghQ== 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 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bh1-20020a056a02020100b0057760853706si2130729pgb.578.2023.11.30.12.36.14 (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 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; 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 2620:137:e000::3:4 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 DBCA3809A837; Thu, 30 Nov 2023 12:35:57 -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 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:35:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784022643752153777 X-GMAIL-MSGID: 1784022643752153777 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,