Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2569196ybf; Mon, 2 Mar 2020 11:15:44 -0800 (PST) X-Google-Smtp-Source: ADFU+vugmMOix6RoqPuifMjFir86KIVX0C8Z4U1qMpqMZfdZTjD83feb2oRlUx6CE5h7tWMmE5wS X-Received: by 2002:a9d:6641:: with SMTP id q1mr562367otm.17.1583176543981; Mon, 02 Mar 2020 11:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583176543; cv=none; d=google.com; s=arc-20160816; b=jxhT4IHkNl2ziP4Rnn0FETPJNOOAD4+bqCo849wU2hI6yEE1FtpXykCx+QKyXdkhgo Orwdafm/G5GMnbhz7oZJtRKWyuvR08lISW+yHOKK1TH45ODqz3EcTUr6pUwB2GlrD5w7 pXGT5sRmFWDLJaAO1Q1cdsLyVkdFYE4Y1/CZ3lbf/DnQ40To0lh1Sn55Xwq6or4F2MBe zBZhlBb84pbkbU+GgQnLflU2JjgFw2zhiE5301KgDw+Ux/4/GLG/mbddjxrzQYf1EwwT DqD+kpm4rb6b/G7rSX4+g6h9uBhj1+o3iLnT3uJU9AoqIYwIulS9htXybTsCHHP6pP3k R+0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=R//G4SsPMz/xxdEQIG8s/WslA6Q4tFbH7nGi61cqicU=; b=ISDWeljgcLlYvq0YwbuqeSJ1jpqMuCdk5dqWaI9RvUciLHK133+WkhDXxslSnsPf7q UgyLAb7FloqoroGkBXe28Mqr1eFLKtNfRFQYBcqkJrzThiFTfDunEn71P6VTfpkw1Sun 2kGec+AJO+wQ0V35215nncVcLidm2tNZNZrp2l9fsqIDZMwv15HSHzlE8NGii9dxcMPw w4uNJh4P2KW9GFwBegS3DQz50NcOIjifrnHTwe/jwkfR3ckb7FQ1WjxfPs86iDOt7NXt nuwguDtklYi+UTjht77VXd1k0mbKKkC2yriXbqZaVEXN5kLLcLgvpb7vTgP/1AAedaFh 8Thw== 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 s207si5337034oih.255.2020.03.02.11.15.31; Mon, 02 Mar 2020 11:15: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 S1727665AbgCBTNn (ORCPT + 99 others); Mon, 2 Mar 2020 14:13:43 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:50530 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727408AbgCBTNm (ORCPT ); Mon, 2 Mar 2020 14:13:42 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 6B447FB08; Mon, 2 Mar 2020 20:13:39 +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 lt_4OpfdEgK8; Mon, 2 Mar 2020 20:13:37 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 76A544048B; Mon, 2 Mar 2020 20:13:36 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] drm/etnaviv: Ignore MC bit when checking for runtime suspend Date: Mon, 2 Mar 2020 20:13:31 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Tested on GC7000 with a reduced runtime delay of 50ms. Patches are against next-20200226. 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(-) -- 2.23.0