Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp595861pxm; Fri, 25 Feb 2022 14:42:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUX/wAj5FntDH4zUhyZ4298aKQKzp4ORX0nNQz1awsYOWFEMYwxhrAMvKjRrMoR2M+t0da X-Received: by 2002:a17:906:5597:b0:6ce:f3cc:14e8 with SMTP id y23-20020a170906559700b006cef3cc14e8mr7723067ejp.426.1645828977896; Fri, 25 Feb 2022 14:42:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645828977; cv=none; d=google.com; s=arc-20160816; b=YmSKiyJvg1wDAWOt+f2I9X/ikZTlkCuNGnp2ZCoBdbZLTM1debUnmiccboIVqVdOu1 I8lp7KdhFMPwf7b1LnBRMz5PXtdhS1c5oEPfew8jC2HSumYFu8EBg9owugP1mC+h2bfW wEMCKAzGCwkBa5V0ndKPYKkDGs8n/JWl/TGmAsP3b8DdwLC4/BFO/Gaceq81OGSzGxb9 4sJT1Wzvi5EnAMcBqoETxYUgK6jljeTTfWsRfZYkkNXmhI/rg7l8fz7LyLgwTf71RkU4 ekpQKR/NXaON8RfQI+8v6NEzbAoNWtmOv680eYrj09jLvoJvfnQOOIxRv+n/615lnL4X ZMPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=tZD1ax3jsnPy6TzQA2DQRsI4QX4jijvlAnNWj4gYHnE=; b=aEDAqazd4J9nVbV6UWQxqOb1VT6SOSEJcfB08/4UUnx3qv0b04Zxf7kDd4JfFw9A/+ r1yWvWrzGfsb6qw0DsT+fR0iUo5gYRGsSxnOXclW8EUhqcX5VS86bMXQCf9KO8QCQ/2a f9o1XJU6uqeL3qL7i0w1QozqcVsl65oEjCYIrjG5h8Zyz57C5IW04olFesi7byQM1+Xp WiMt1YC94Go05Im4H8Np/D8qryy+kr9nSN138p+VmnkdxBD5Hjnl05XMpB2dNqUtXBYd BWEScFlu0kcATFTs9oha7xcKOKE7K9fOAB7MZWnW8niXBeowTjU9IOEA/FXeTB0WjxBP X1Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=opRIkgAe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g26-20020a50d0da000000b004120124e0d9si2786426edf.295.2022.02.25.14.42.30; Fri, 25 Feb 2022 14:42:57 -0800 (PST) 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=@mg.codeaurora.org header.s=smtp header.b=opRIkgAe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233942AbiBYTYT (ORCPT + 99 others); Fri, 25 Feb 2022 14:24:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231931AbiBYTYQ (ORCPT ); Fri, 25 Feb 2022 14:24:16 -0500 Received: from so254-9.mailgun.net (so254-9.mailgun.net [198.61.254.9]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id C10D11D8331 for ; Fri, 25 Feb 2022 11:23:43 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1645817023; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=tZD1ax3jsnPy6TzQA2DQRsI4QX4jijvlAnNWj4gYHnE=; b=opRIkgAetdNcbjOrsM94URq1nGa/i84ep50i9HDdIhNs872wWun1wlWMUYnF1ZwY1w0crrf4 ks53K6KnlNfsUg/H+aYTRIlATAR0RloHXFK8DLMA9p5WBTJBvFv9WU+FNj8EvcirCODCp0E6 fq+IgcqBX9MQPp3xRaRZGTba2Tg= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 62192c4ce1c212bb9c4ab206 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 25 Feb 2022 19:21:48 GMT Sender: quic_akhilpo=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DF1D3C43637; Fri, 25 Feb 2022 19:21:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from hyd-lnxbld559.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akhilpo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 152C0C4338F; Fri, 25 Feb 2022 19:21:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 152C0C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=quicinc.com From: Akhil P Oommen To: freedreno , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS , Dmitry Baryshkov , Bjorn Andersson Cc: Abhinav Kumar , Andy Gross , AngeloGioacchino Del Regno , =?UTF-8?q?Christian=20K=C3=B6nig?= , Daniel Vetter , David Airlie , Douglas Anderson , Jonathan Marek , Jordan Crouse , Rob Herring , Sean Paul , Stephen Boyd , Vladimir Lypak , Yangtao Li , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] Support 7c3 gpu SKUs Date: Sat, 26 Feb 2022 00:51:27 +0530 Message-Id: <1645816893-22815-1-git-send-email-quic_akhilpo@quicinc.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series supercedes [1]. Major change in this series is that it is now optional to include a gpu name in the gpu-list. This helps to avoid the confusion when we have different SKUs with different gpu names. And also I am pretty happy that the overall changes are smaller now. [1] https://patchwork.freedesktop.org/series/99048/ Changes in v2: - use devm_kasprintf() to generate gpu name (Rob) Akhil P Oommen (5): drm/msm: Use generic name for gpu resources drm/msm/adreno: Generate name from chipid for 7c3 drm/msm/a6xx: Add support for 7c3 SKUs drm/msm/adreno: Expose speedbin to userspace arm64: dts: qcom: sc7280: Support gpu speedbin arch/arm64/boot/dts/qcom/sc7280.dtsi | 46 ++++++++++++++++++++++++++++++ drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 18 ++++++++++-- drivers/gpu/drm/msm/adreno/adreno_device.c | 1 - drivers/gpu/drm/msm/adreno/adreno_gpu.c | 36 +++++++++++++++++++---- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 3 ++ drivers/gpu/drm/msm/msm_gpu.c | 4 +-- 6 files changed, 97 insertions(+), 11 deletions(-) -- 2.7.4