From patchwork Wed Feb 8 10:37:06 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: 54363 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3380933wrn; Wed, 8 Feb 2023 02:46:16 -0800 (PST) X-Google-Smtp-Source: AK7set/YD9/ruXic0/CiVJU85HVdqP4FCDNUnii0bQciVmXF7YpTajESTz7UhZNlw0hofZ4AMpgD X-Received: by 2002:a05:6402:278f:b0:4aa:aa5b:fcd0 with SMTP id b15-20020a056402278f00b004aaaa5bfcd0mr8708265ede.1.1675853176065; Wed, 08 Feb 2023 02:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675853176; cv=none; d=google.com; s=arc-20160816; b=L6ltVSGwTgkOfPDTl9H8/fE2C6f7tU8ZR/ilIVMzGJLgpzRdgPEEP8tIgKDo2ngs95 XcZ4TUoAb1qoBdfO0XufXD8gNXGU3NyNfSNhox6n2tcaaIAV+8sOVHa8JhXooFkGkIWF NIkZ0Dr7nyxP/zLrmLg/yI4KJ96hUDcBALBDBwJbtJ+WZ8IKp59Blk4Sf6pSu+ILC68n dcyGqeExT5fZfHjYQxTb9gAJUsBRwXX3gZSlzcMxyRwUpgm8dNJYrttqdm8KoYS51Ifz BOJk/uaxJxDeXczuGZ3We91x5guCjtc6smSuY26tHq5XIlvm9mjIiWMa6zeDvvLYnNBy qAQg== 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=Y41zmXXeElPJkIjMCJVd+9dUW8ioKfsO+1DnyeK0CXk=; b=m82nYGlMR/mPWUPXhkQkQOn6XnehjdqQUe0XRONWUtjJ195ZZQiNSTgyLQYGKp7QWG 90NnHhNSAlTjU6qT4NvwJhO1hXO8y+sF2IY5f9TZw5FX3JkMOjJGWy0ljTpqjlB0+2D8 bzfyFSzBC+Ff7vO1OMgQAFNJjLPXH6J/UUvIkfLnBxIQpImiQMx6/vdU9y1tHWlv4wT3 vvmA6kRsNvcUq5o7UwrmyK9lCZNY79oBPh4xKrkPGA7+5Zr+SfzMfnWlwMh12bfD0Aja B2PWqwYs6ODBHlrtid92heiYN4w4pmxhK5AC4MTJdPjFnMcmygcflwzzvl4WysmHOqt8 4gRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DOF7DQKN; 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 i25-20020a0564020f1900b0049e37585a7bsi20516548eda.196.2023.02.08.02.45.52; Wed, 08 Feb 2023 02:46:16 -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=DOF7DQKN; 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 S230207AbjBHKhw (ORCPT + 99 others); Wed, 8 Feb 2023 05:37:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231530AbjBHKhe (ORCPT ); Wed, 8 Feb 2023 05:37:34 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1B43474C4; Wed, 8 Feb 2023 02:37:31 -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 F29AB6600362; Wed, 8 Feb 2023 10:37:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675852650; bh=TVLY2L+iZ2tOkGaynl/eW0t9KWfRLxnjRTuTvMUlR9s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DOF7DQKNlIx3DGDjusmsvqeIWQ4+zhnIynQ30pUL1pkwfdJI89U48pie4nUFO4GPR CwyqoL12zay29aDkxWhrAoFIQBhLw4Zz1J0HQ23nUlfRuTdH76apCqb5JtQe+zSuUJ iG3A4x8TRdAaWrS8IraO/6MWTTSz10KyMUSlddNViACkcI5A1eW4E+acudNZcoB5ea uTc0Rujx+MxqzPnqMMcSQU6QCUOAS+DDiZtqRfKdnrCaOc5B0Lf+31SmOpHvWVF9wv v4RI9X+dMjRXmziJrtlK7DDvziKDtiMR7VokYatVoOdFd5U63TzejumENi6pFk3LWA MTn81FLJ/bxOw== From: AngeloGioacchino Del Regno To: airlied@gmail.com Cc: daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, tomeu.vizoso@collabora.com, 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, AngeloGioacchino Del Regno Subject: [PATCH 6/9] drm/panfrost: Increase MAX_PM_DOMAINS to 5 Date: Wed, 8 Feb 2023 11:37:06 +0100 Message-Id: <20230208103709.116896-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230208103709.116896-1-angelogioacchino.delregno@collabora.com> References: <20230208103709.116896-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?1757259419955867676?= X-GMAIL-MSGID: =?utf-8?q?1757259419955867676?= 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 --- 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;