Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3472962imm; Mon, 13 Aug 2018 12:18:38 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw/sngLzxuVJjB33FEqeh6xew1iLwCkrMRg/u6djt78m64VGlVgNpbUZzuwTzJYC+ABg05n X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr17829493plt.141.1534187918024; Mon, 13 Aug 2018 12:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534187917; cv=none; d=google.com; s=arc-20160816; b=J9ZpJR3QopwyCj55qeKI8LHeKqvbMlgaOTfgA8gn3CQDpkUtY3lN4XGqqP3eaJPn2a GlGoQljIngZ2WxRsezrnQZQYcezwloWsisPYjHaGD47H+qEer3fmEvKVJm2V9KpSdybj JNqvpvJIKQqD+ix/mmYQZQIUb9OLidU4XTNXTNZz9KFRZ5jPtdl1acRTk50lNzH61h1S 6FxHpwsEZxg+pdWHO5DLdFdgilDlZETi40noiKu/SJ2itwb9sWMYUWZ/Cd3H/IuqDwmv 0Ixst4HkrNVoqSk/zhn3yl24gQD2TQbw0++zCgxvhavzpczposMtk1QO4++l80kU8wPZ /Vqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=bFB3263viauq9rHWQLFSStuGuUa+kuwGhL7QO7I5ArI=; b=KoGP0Azl91+WOjTAeGMG06IzOc2ssPy/D4wC9A8T1OvtWgfvXFF6mYGHIySTMTRkBu 4G/Vd/XAjjfnFmC7dQXUibWBGK7EDHk/pnhCBEDSGtauj44h6wrvN83zh2DEbjAo/6su uywwyoXd7swTfJQThJyvOqmfBSKIdN/dPIdDvr7ZQ/l1VIieTufK9Gnox58J11GkgSPg peFmZ4kuE5yaPMmNKK3kXRmSBltb2OLVkGOl0fXILNsFb9MEjeZRj4pqBlUYMNVL1zxW OYSam/4OEAgJTc5hZlvAJ2pHhGSInuT6W03KvnrxKm75ml93m+pNmFq9uavFiBHS9D6A OOmA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13-v6si18866263pgb.356.2018.08.13.12.18.23; Mon, 13 Aug 2018 12:18:37 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730793AbeHMVun (ORCPT + 99 others); Mon, 13 Aug 2018 17:50:43 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730352AbeHMVun (ORCPT ); Mon, 13 Aug 2018 17:50:43 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 834A087A78; Mon, 13 Aug 2018 19:07:12 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-11.bss.redhat.com [10.20.1.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE8D010073B7; Mon, 13 Aug 2018 19:07:09 +0000 (UTC) From: Lyude Paul To: nouveau@lists.freedesktop.org Cc: "David Airlie" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Ben Skeggs" , "Thierry Reding" , "Daniel Vetter" , "Ilia Mirkin" , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , "Lyude Paul" Subject: [PATCH v6 0/5] Fix connector probing deadlocks from RPM bugs Date: Mon, 13 Aug 2018 15:06:58 -0400 Message-Id: <20180813190706.24172-1-lyude@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 13 Aug 2018 19:07:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 13 Aug 2018 19:07:12 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'lyude@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Latest version of https://patchwork.freedesktop.org/series/46815/ with some significant improvements: - I finally figured out a clean way to do this entirely with runtime PM helpers, no avoiding grabbing refs required! - Since this new method removes the need for a lot of the other changes I made (although we probably still want those changes, but not for fixing these deadlocks) I've removed those now irrelevant patches from the series and will resend them on their own to make reviewing this go faster. Lyude Paul (5): drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend() drm/nouveau: Fix deadlock with fb_helper with async RPM requests drm/nouveau: Use pm_runtime_get_noresume() in connector_detect() drm/nouveau: Fix deadlocks in nouveau_connector_detect() drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 42 +++++++++--- drivers/gpu/drm/nouveau/nouveau_display.c | 9 ++- drivers/gpu/drm/nouveau/nouveau_drm.c | 1 - drivers/gpu/drm/nouveau/nouveau_fbcon.c | 72 +++++++++++++++++++++ drivers/gpu/drm/nouveau/nouveau_fbcon.h | 7 ++ 6 files changed, 119 insertions(+), 14 deletions(-) -- 2.17.1