Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3548497ybf; Tue, 3 Mar 2020 07:57:43 -0800 (PST) X-Google-Smtp-Source: ADFU+vtOfiqBrdD5lxyV4NLa2Y9aaHqn5yPpsu1wwe4icZQ+ZbJTENdDv/CfioyMrEcEHb4JB5/3 X-Received: by 2002:a05:6830:108d:: with SMTP id y13mr3887624oto.241.1583251063468; Tue, 03 Mar 2020 07:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583251063; cv=none; d=google.com; s=arc-20160816; b=Vx2MH4dFF2yRX1Ila6P3y7ITTiYiiMf7H9en1STw3TNZ92JGVMFZvsSYu7SazX2i7q L+YeKDuSsJnltehCG9jBQFeQ/B138Lda3FleIxKIyv5hMojGn637j2r+h44wQDIqqQSR vV3SIyFjfDR4WX0X/CbY1R6Y0O6mTXZaLBYwuTuBE+Efg1VGpBjbwOPd6KKdfCDM1mQh KxIRu3DCzAuMdxQmQxayz7VyIGsDLliRLHX7XRgBPHDlCiXfMCWms7fMTGt6tN1CHZ3a Q7txvXXc5+kEZOYgVX673HAR9MMGmGiLYflXb78ilEFutD/kwqYzGatw9oc+vBiCSlI0 aQfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=N22swQnBBi8XLKF1WdHwRcUEtFKt8Sex2htiCxoOgY0=; b=NVJT/Y30uWM6lr6oA4Yv//2Cj6d74NYWZFzOV94VU1QGF/Bsqmi9pIqd8E128mhV4Z iMC7hSgieJOtbPnGZxQfcaqXFjC4BRfOtNRW5uTSruu51jixBcUvvdsw3EbXjd2DoFDb I/5p53bynJxYz0KHxXLv9GbRQYCm6iI2HZlnfA0H78VVupigCEQGaJ8G8dSe8tgIxFqp 6tmzIJkNvZcdJvSmAWSU+/BQhsqGdFHdF7Yc5kugYFZocBi/5DAfpXs/P9hF/mUzVCdL lN0hN5QVGAIVjL4cNy6PPsdOjd4eLbd55J7qW7Ig56Tw9VkYsRS22hA/dnkDTSIjE/35 B3/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d65si8623040oib.5.2020.03.03.07.57.31; Tue, 03 Mar 2020 07:57:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730220AbgCCPuA (ORCPT + 99 others); Tue, 3 Mar 2020 10:50:00 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:46920 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727683AbgCCPuA (ORCPT ); Tue, 3 Mar 2020 10:50:00 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 40F38FB03; Tue, 3 Mar 2020 16:49:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3aCklNoWhSJ8; Tue, 3 Mar 2020 16:49:56 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id D3C5040758; Tue, 3 Mar 2020 16:49:55 +0100 (CET) Date: Tue, 3 Mar 2020 16:49:55 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Lucas Stach Cc: Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] drm/etnaviv: Ignore MC bit when checking for runtime suspend Message-ID: <20200303154955.GA174372@bogon.m.sigxcpu.org> References: <4c61fde86c5e0dced249221dbc0a8d4207d5bffa.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4c61fde86c5e0dced249221dbc0a8d4207d5bffa.camel@pengutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lucas, On Tue, Mar 03, 2020 at 12:55:04PM +0100, Lucas Stach wrote: > On Mo, 2020-03-02 at 20:13 +0100, Guido G?nther wrote: > > At least GC7000 fails to enter runtime suspend for long periods of time since > > the MC becomes busy again even when the FE is idle. The rest of the series > > makes detecting similar issues easier to debug in the future by checking > > all known bits in debugfs and also warning in the EBUSY case. > > Thanks, series applied to etnaviv/next. Thanks! > > > Tested on GC7000 with a reduced runtime delay of 50ms. Patches are > > against next-20200226. > > I've already wondered if 200ms is too long, 50ms sounds more > reasonable. Do you have any numbers on the power draw on the i.MX8M > with idle GPU, vs. being fully power gated? I don't have good numbers yet but i'll post here once i do. Cheers, -- Guido > > Regards, > Lucas > > > Thanks to Lucas Stach for pointing me in the right direction. > > > > Guido G?nther (5): > > drm/etnaviv: Fix typo in comment > > drm/etnaviv: Update idle bits > > drm/etnaviv: Consider all kwnown idle bits in debugfs > > drm/etnaviv: Ignore MC when checking runtime suspend idleness > > drm/etnaviv: Warn when GPU doesn't idle fast enough > > > > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 26 ++++++++++++++++++++++---- > > drivers/gpu/drm/etnaviv/state_hi.xml.h | 7 +++++++ > > 2 files changed, 29 insertions(+), 4 deletions(-) > > >