From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basealt.ru; s=dkim; t=1772188376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pa4a2t3QSGYzCUSxH15BK98f5aVuItfreegcFP0hrSs=; b=UHYPVYeRpX2BjLoPfasmJNGEXouOrUX0X85udF9uh12JpZS01tQ1nCFStuetCb4USEKB9v uRbGsNgVwoR+61tZRwJ3+E2G2SF+Krf54qztRxI+REbg04gUcC1XR1mhnJmeZ0tiRfUpKh hZ964ISggK+O2/4DEpnYRbiyTATI+chiu+aZa0ItxgdpjKB9ujyfJ+WrJAkecrBl43Iumd VxICnJYUbkeR1uFl5D75mQbWpy9Inx2sE5xnZBehVxAzxtXgM1KprsMZHPNceViQ0qODP2 BfjWVq1jF8eOEvwApCfDDUnoB/RtVnkJULNO4PEH9Y/UaG/4zaNwn9nURpJuUQ== From: Daniil Gnusarev To: gnusarevda@basealt.ru, devel-kernel@lists.altlinux.org Date: Fri, 27 Feb 2026 14:32:13 +0400 Message-ID: <20260227103236.785736-13-gnusarevda@basealt.ru> X-Mailer: git-send-email 2.42.2 In-Reply-To: <20260227103236.785736-1-gnusarevda@basealt.ru> References: <20260227103236.785736-1-gnusarevda@basealt.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [d-kernel] [PATCH 12/35] drm/panfrost: disable devfreq on Baikal-M X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2026 10:33:06 -0000 Archived-At: List-Archive: List-Post: From: Alexey Sheplyakov Enabling GPU frequency scaling on Baikal-M cases GPU MMU lockup: [ 38.108633] panfrost 2a200000.gpu: AS_ACTIVE bit stuck Since GPU and CPU share the memory this locks up the whole system. Therefore disable devfreq on Baikal-M. Signed-off-by: Alexey Sheplyakov X-DONTUPSTREAM X-feature-Baikal-M --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_devfreq.c b/drivers/gpu/drm/panfrost/panfrost_devfreq.c index 5d0dce10336ba3..c0542b53ca2bf1 100644 --- a/drivers/gpu/drm/panfrost/panfrost_devfreq.c +++ b/drivers/gpu/drm/panfrost/panfrost_devfreq.c @@ -133,6 +133,11 @@ int panfrost_devfreq_init(struct panfrost_device *pfdev) DRM_DEV_INFO(dev, "More than 1 supply is not supported yet\n"); return 0; } + if (of_device_is_compatible(of_root, "baikal,baikal-m") || + of_device_is_compatible(of_root, "baikal,bm1000")) { + dev_info(pfdev->dev, "disabling GPU devfreq on BE-M1000\n"); + return 0; + } ret = panfrost_read_speedbin(dev); if (ret) -- 2.42.2