From patchwork Tue Jun 20 13:17:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 110493 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3671918vqr; Tue, 20 Jun 2023 06:38:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ62cVZYO1dSIxlreyUYJ5+F+8/OWrY8Kig3ZwhQbzWC/7cZCPtyhttvRvuONyFMm32XDg/X X-Received: by 2002:a05:6a20:8403:b0:11d:9249:170e with SMTP id c3-20020a056a20840300b0011d9249170emr18021510pzd.12.1687268334787; Tue, 20 Jun 2023 06:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687268334; cv=none; d=google.com; s=arc-20160816; b=Dww/jU7INOUNKfJB6a5SQWWKsLb7OA2bnHMvPL/7+7TSaP1ZUiMkzCKvA8a0v/E7lo 8SNH/WXmXZX7kQTEveHuskZUV4pISzPtys9n6k8mHhnvXlI3aa6k3Kp4V8PLL+1w36dQ Q/RWUW8qdmqs7P+TD41RRY87EOHVnTSXJKfBBEFc39ldO0NlB+0okHCh8aaajoT5nrBh Y+ghKG+G9/Aw6gyByH/IOLrLHdseRAlXElheG+ma7Ew/Vaa3RpAkav1FbXxiegQqaq81 yfuIMmK+qparkKA+N1KYhtYatKrbJGl7I3ANM3e9Lpsk4/bYNzlG9GJI5qemIMvphUPd RluA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=RR9zZ88sAyHf8qTanAhoCg0PiNIpr2FzdiyGhaobkRiYzFi/BxCCPRu7OkDko+T4gc It6+VOxpGn23xIzElZC9qaoOp4cerOgC+ZhyfS+lcU/ORUP/MhFGibh1bBuX0BOOlakM smJDTSAzOJIQbzLK8q94PzB2FPLN1TavBssj9TfdVnNLl6E6V+3v7aSvN3QAPTVBf3aH NfN3WcsZJZbl/Aojs+P3QWQCQjJqUKqHI5spj/5e5J/Bebu5sOUl3LUd9cTUAubD5iwY FDJhFg6BGaW4sWDFFtetIrhCht8nR+f94fg9fjK4eA/++JOvt1TylW/q90inNQTI9FBV PYyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RON1O4AV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i63-20020a636d42000000b0053f479ef142si1659153pgc.124.2023.06.20.06.38.41; Tue, 20 Jun 2023 06:38:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RON1O4AV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbjFTNTE (ORCPT + 99 others); Tue, 20 Jun 2023 09:19:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232204AbjFTNSe (ORCPT ); Tue, 20 Jun 2023 09:18:34 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91A3C1BC6 for ; Tue, 20 Jun 2023 06:18:11 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b4790ff688so32956401fa.1 for ; Tue, 20 Jun 2023 06:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687267087; x=1689859087; 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=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=RON1O4AVw5GQPnoihbBBHmP/RAjBaLj9OeDg4bebBJ8ug9w3jGSrvrarIrHPcX3gFq A2l5Z9SDG1GBqXGZKg6yJWW9gyVed1veuzvSvMTFuxoejyZOqsjHoSxP5uNey2Tv4EVx wtIR6/BFWB8RrKBilbzSlYFXvMPqMI+1Gj+P5RuMLJQjsQcNW9GdYIbL6E4x/CWbKDZp rnKaEuRnNcWeVHp5RrZG21iFjhnTUv9gjorl4TTJUs/34fHyH/olnu++X3syqTrhnK7p A9qM+xJJpOtfJ0q6NoCIzSUzPKcFcSPqVaDUqvuL5KWCy/vn+cr7q3ngyEo59zqyJZFY oVjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687267087; x=1689859087; 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=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=FfUv9umnpqA+jMaCjGve5x6/mguUuBDxjL8rbhq70bWRrU8DtlTwOldUj4otxv5k2N oSBOg2nxaqyQO1siDqjIITW2RrXAKzdSGP4tO9Z3g5hkY9MF0S7F/2JiZGyQPmQ0w+mH kTXccpnuFAOXUmYHMtimfRJZMSdrzCuuWDcTSZ0zasuOaqPEaBEp5vt0l+4HnJkNxR3h bP2WBcmHXbLSzkAep/8UUV7N3bEyAaG9uwBJrPF0pDk/IyP1WVKB+YdBI5lWCNJOpu+/ rBi51+qtN84IHs+cEbFSgikSBeAqxnbRILhah/enR0KIVddkJvuJVDI5jENw/Yc8UAha g+9g== X-Gm-Message-State: AC+VfDwEf9Ipkk6wBqvIv1zNeTJBEk4JB/hTnRzBALaVc0n8b0iowdWv yKmhJ8w4tp1OdCfdS0cdttSJqg== X-Received: by 2002:a2e:b050:0:b0:2b4:734a:35fa with SMTP id d16-20020a2eb050000000b002b4734a35famr4369815ljl.42.1687267086775; Tue, 20 Jun 2023 06:18:06 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id h19-20020a2eb0f3000000b002b3318c8d6fsm414433ljl.28.2023.06.20.06.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 06:18:06 -0700 (PDT) From: Konrad Dybcio Date: Tue, 20 Jun 2023 15:17:48 +0200 Subject: [PATCH 4/4] arm64: dts: qcom: qrb4210-rb2: Enable GPU MIME-Version: 1.0 Message-Id: <20230620-topic-gpu_tablet_disp-v1-4-7bb02bec8dc0@linaro.org> References: <20230620-topic-gpu_tablet_disp-v1-0-7bb02bec8dc0@linaro.org> In-Reply-To: <20230620-topic-gpu_tablet_disp-v1-0-7bb02bec8dc0@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687267079; l=706; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JBonNiZe3CxDbV4Fmz0+WuWgEzcdGj7FHxWoDNsHw3g=; b=Vfz4R/euuwcF82gpDVjvdr+26Q1fZ8KWx4ICfhU1LOFk/KTVQ0K3Pu8h6L+3cHmszJd/lG8ER JXvmcWKJhI7D4jGM99KohrodZtSH68dDs+TgZYtOZRHY/LdhB987VkG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769229081492470532?= X-GMAIL-MSGID: =?utf-8?q?1769229081492470532?= Enable the A610 GPU and provide a firmware path to the ZAP blob. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index e23a0406eacc..a7278a9472ed 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -179,6 +179,14 @@ &gpi_dma0 { status = "okay"; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/qrb4210/a610_zap.mbn"; + }; +}; + &i2c2 { clock-frequency = <400000>; status = "okay";