Message ID | 20230221153740.1620529-8-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp78936wrd; Tue, 21 Feb 2023 07:44:07 -0800 (PST) X-Google-Smtp-Source: AK7set/Mrtk4OTusqApEYpmJWPTnuU5jTzuXe1C0QkWJKYEq9qVVtXWn+sT32i/dKTPwZ6HbPywV X-Received: by 2002:a05:6a20:7f94:b0:cb:8e4c:6e55 with SMTP id d20-20020a056a207f9400b000cb8e4c6e55mr2491494pzj.12.1676994247213; Tue, 21 Feb 2023 07:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676994247; cv=none; d=google.com; s=arc-20160816; b=0SG9nLJmray/V28icOlLKKcTKt6cSBIdf0IoS7NzlOSJO7Vcds9uHFKCix0Xw793iv d42A2fnChvydRedhDE9HngGPMTpi/fELHFMJlYalwdLPJUMmx8AhplkZvSsx3Dx6zJ3e 8oM2GhG+/D4OaomZoBPsEtvYu5rOY8tzUVLP5L6ZyCWDHEJriqPqPnSSzh4pzI6lxaln K7AdL2UlEfq9NlvzArE2FBnZPcBMjUpmxLBhFlSsriNeHahKzHSgZ290kRwEHnv55ZnO PiDOzJOI5VQBqk+r74hJa5zhC5Trip8DmPXIsJyyuta5yUJSBAMzYoMaMQAkeYpCFLsm E++g== 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=SEkazJt6ZUrGdcfktUDbxmXrxWarZ9oGXv5bKt0BGHcY7Ezc+bInoIQXkmOVI3N/Jz P2Bw0ZbYh4HXCbLbX3Si6B+NzueVtgXxG2Kkk0tUASc4NXHCmVOlze3K+PU43rakWoDL XndiCWjRLT4ZcefP7pn9tacBI7EUdwuS+v43GDpKvO5lRGqwZBC3ZcDzLqtVkVRYk35f +o3D5scPmp5SP4S0YGwI+zjzOkOaO74dNSJDFk+QpJ8UJJ1tQFrb89/CtgwDbddyFfMz i5sHXjWokFFdRaYkQVaqlGf3QbUlTIvMk5NrnLY9xQG1p6k0Yr69rtT3vonUCK987nJ8 oCWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="U6/pIFVn"; 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 28-20020a63105c000000b00502e29be692si448465pgq.289.2023.02.21.07.43.41; Tue, 21 Feb 2023 07:44:07 -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="U6/pIFVn"; 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 S234738AbjBUPiH (ORCPT <rfc822;kloczko.tomasz@gmail.com> + 99 others); Tue, 21 Feb 2023 10:38:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234596AbjBUPh4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Feb 2023 10:37:56 -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 2E0B622010; Tue, 21 Feb 2023 07:37:52 -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 43EC366021D2; Tue, 21 Feb 2023 15:37:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676993871; bh=X9j7xcxPWqqju4SwMykvvaoqD5cIUMh5cTk3zCzxcjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U6/pIFVnfCKS+MNTaAAmacRT0UTSPBum3hfbt9pRV5q7VFocDcyxcvGF7XrWAG/i1 sLaW/zi3XqfHtI4FiqAifMDCVres/490H6yCUfIFcSH+GkICdjw+mR5o3574fAIcFU ipUSyKZk2vlnvse4k9bNyVHGosdWvWU6wY8d3aC/hpBU6X2fXPj4kiWwfO5LjjWpPV cJI7OVZDogorBXjC7/exwBkjEQKrUCu9Pyijtn5u28Hxx9UMVcZ86KknTb+q/xiCIX WnqOcwvTj4cMnPRtc3pbcNeb3m53bItthzxujx02NyLDUkBRUdIVge7CtiwXy6O1if rs1iIJyaFne5Q== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 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 <angelogioacchino.delregno@collabora.com> Subject: [PATCH v2 07/10] drm/panfrost: Increase MAX_PM_DOMAINS to 5 Date: Tue, 21 Feb 2023 16:37:37 +0100 Message-Id: <20230221153740.1620529-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230221153740.1620529-1-angelogioacchino.delregno@collabora.com> References: <20230221153740.1620529-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758455919846735389?= X-GMAIL-MSGID: =?utf-8?q?1758455919846735389?= |
Series |
Panfrost: Improve and add MediaTek SoCs support
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 21, 2023, 3:37 p.m. UTC
From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> 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 <alyssa.rosenzweig@collabora.com> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> --- drivers/gpu/drm/panfrost/panfrost_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, Feb 21, 2023 at 11:37 PM AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote: > > From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> > > 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 <alyssa.rosenzweig@collabora.com> > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
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;