From patchwork Tue Feb 28 10:27:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 62404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2933676wrd; Tue, 28 Feb 2023 02:30:45 -0800 (PST) X-Google-Smtp-Source: AK7set8EEy9XO6XGzffodopaDqHrlut6ukFmB5wuxn9SOblx/fFjlq9VpaI81PIUMnhs72xqHKcD X-Received: by 2002:a17:907:7ea6:b0:8f6:88b7:73a7 with SMTP id qb38-20020a1709077ea600b008f688b773a7mr2984808ejc.7.1677580245404; Tue, 28 Feb 2023 02:30:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677580245; cv=none; d=google.com; s=arc-20160816; b=Cgzdc4vSCNg5NxZAigJ9Yj4dzKJ2M2q2lSa2wOn9/rJpACroGWGNMzC9i9ioHiHNs6 mC5g+DORCfgC+VVFJ1cRnp4hH8nMTQqb0ebqGmxUsHTi0969+hoObGwLuzY/ljXT8Led tStP2M6DtuHOozPyGv2mMGp75WBzqE6uPpH0S2JmpWLsLDjURuJwVHAih9oKEpH8R5Ky rpyrsnnU9Zgl+QjZgVA1/WpkEIe4bayfTWeKIITNeLOm8bvTb4TPPNIPJhYVfPRaFyC2 1/W8a68+iFgGTJsX6LhUvYcz/fKD3IzGp38Bs2eKZHB/UzA3jFsgZgV3XCajQeaBFXxs 33eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Uu2ko/I2+FIAVizMpk+6MoW16wk0zrb3QEtaQNGzMgc=; b=PDzL1tr758SNtj1xpSZ5wBtqHx3M9z38r6O//bJZs0LUUU1LvCmIOC5dGd0Fxjk0pR Ix9F1h7FmiQJl51MZmG65gFfpBf91sNvmYAIRYjYrNUjroKN/twZcyPRzeIOp2nq4euX JBJIaalYzld/+BBrWS2RQWwBZLSd5cj7f205KyYbM3O0j0ghI33l+TmzIutgCYDn6O+Y KfLuMDzxi0c+ep/J/AABySz2CbMrWo8OCM2ILV5S99+pAuDxsobsYQ5LkzT95pNhA4SG GW2v2CZzHS/SF3lY7oMm6Ym/vV3y9/qWy7elRi153+K7bUtyeIjxozVNL9KPA7ZtOZYi Vw7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LC9MFIZ8; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170906361100b008e77343cad3si9835731ejb.927.2023.02.28.02.30.23; Tue, 28 Feb 2023 02:30:45 -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=@collabora.com header.s=mail header.b=LC9MFIZ8; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbjB1K1k (ORCPT + 99 others); Tue, 28 Feb 2023 05:27:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjB1K1S (ORCPT ); Tue, 28 Feb 2023 05:27:18 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5550C2D16B; Tue, 28 Feb 2023 02:27:17 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 753246602FDC; Tue, 28 Feb 2023 10:27:15 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677580036; bh=X9j7xcxPWqqju4SwMykvvaoqD5cIUMh5cTk3zCzxcjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LC9MFIZ8VU3/L0enAm8U1kUxOFCW2IuiudOg7BO1K8C3vbjEaj4wXgWLJUrg/0Zis rRNDKijyS67V2kqNFuIeV1gigUbFS2vZFh080XLzKRp5r8P/mQ7D4m0SDtNDhYy6kF qnK+KmXVyYQRsm77z9kv1xVRYblldxk29wFAjMFE9esezF1X6Tp+rDcUHT8z5aMsaw pk9P9xRXcHewK5FR+l64yqlG4XXWsyPEFPyR9buKrEnejvQtY8E4HzobfY/KZIkpGx MUrNbXuhXjYHV1mLedFP9+mrMDqUtNQTrBiJUCLcmJ5LoyBeLQGvk2l0A8tOL2loiG jDlydoESAtpgg== From: AngeloGioacchino Del Regno To: airlied@gmail.com Cc: daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, steven.price@arm.com, alyssa.rosenzweig@collabora.com, matthias.bgg@gmail.com, robh@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wenst@chromium.org, AngeloGioacchino Del Regno Subject: [PATCH v4 08/12] drm/panfrost: Increase MAX_PM_DOMAINS to 5 Date: Tue, 28 Feb 2023 11:27:00 +0100 Message-Id: <20230228102704.708150-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228102704.708150-1-angelogioacchino.delregno@collabora.com> References: <20230228102704.708150-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759070383327729378?= X-GMAIL-MSGID: =?utf-8?q?1759070383327729378?= From: Alyssa Rosenzweig Increase the MAX_PM_DOMAINS constant from 3 to 5, to support the extra power domains required by the Mali-G57 on the MT8192. Signed-off-by: Alyssa Rosenzweig Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Steven Price Reviewed-by: Chen-Yu Tsai Tested-by: Chen-Yu Tsai --- drivers/gpu/drm/panfrost/panfrost_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h index d9ba68cffb77..b0126b9fbadc 100644 --- a/drivers/gpu/drm/panfrost/panfrost_device.h +++ b/drivers/gpu/drm/panfrost/panfrost_device.h @@ -23,7 +23,7 @@ struct panfrost_job; struct panfrost_perfcnt; #define NUM_JOB_SLOTS 3 -#define MAX_PM_DOMAINS 3 +#define MAX_PM_DOMAINS 5 struct panfrost_features { u16 id;