From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B960C4167B for ; Thu, 30 Nov 2023 11:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345298AbjK3L3d (ORCPT ); Thu, 30 Nov 2023 06:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345296AbjK3L3P (ORCPT ); Thu, 30 Nov 2023 06:29:15 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D67271FE4 for ; Thu, 30 Nov 2023 03:29:05 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 853301042; Thu, 30 Nov 2023 03:29:51 -0800 (PST) Received: from [10.1.34.23] (e122027.cambridge.arm.com [10.1.34.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 91CB93F6C4; Thu, 30 Nov 2023 03:29:02 -0800 (PST) Message-ID: <871c4b6d-fb37-41ae-9dcf-b98345e70c77@arm.com> Date: Thu, 30 Nov 2023 11:29:00 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Panfrost devfreq and GEM status fixes To: =?UTF-8?Q?Adri=C3=A1n_Larumbe?= , Boris Brezillon , Rob Herring , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20231125205438.375407-1-adrian.larumbe@collabora.com> Content-Language: en-GB From: Steven Price In-Reply-To: <20231125205438.375407-1-adrian.larumbe@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/11/2023 20:52, Adrián Larumbe wrote: > During recent development of the Mali CSF GPU Panthor driver, a user > noticed that GPU frequency values as reported by fdinfo were > incorrect. This was traced back to incorrect handling of frequency value > updates. The same problem was seen in Panfrost. > > Also one should consider GEM objects from a dma-buf import as being > resident in system memory, so that this can be reflected on fdinfo. > > Adrián Larumbe (2): > drm/panfrost: Consider dma-buf imported objects as resident > drm/panfrost: Fix incorrect updating of current device frequency > > drivers/gpu/drm/panfrost/panfrost_devfreq.c | 17 +++++++++++++++-- > drivers/gpu/drm/panfrost/panfrost_gem.c | 2 +- > 2 files changed, 16 insertions(+), 3 deletions(-) > > > base-commit: 38f922a563aac3148ac73e73689805917f034cb5 Pushed to drm-misc-fixes Thanks, Steve