Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3755252ybb; Mon, 6 Apr 2020 15:13:49 -0700 (PDT) X-Google-Smtp-Source: APiQypIO7zWvVGDBdtYWIeTZIw6prjf/33VKa7IY4GHBZYAqjPfijbL4bV7355hQA3aMpZNwnxo8 X-Received: by 2002:a05:6830:1dfb:: with SMTP id b27mr18483109otj.89.1586211229832; Mon, 06 Apr 2020 15:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586211229; cv=none; d=google.com; s=arc-20160816; b=lirHoKreLDaRlGHhLQKxL6L/5njwCFdt8Fxl9igCod7PDyCoBpHs34KX3dO+eOQ79Q mX2qGK1p9PN/BsHio0xATuuH3yhGhJVUfWjaxwYmCJ0Uc5Iyiy6VdbvOW3v6y5x+feOF N3G1bMJLvd8GaL9GG3t4sPIl0nRp177mo+Kk319F5LK8Rk0/Zwp3hio+WXHO97iOolB3 C4UWz0HdLxv6BpXtYtdn4PmznKVP/yvGtcy0ZocH4iMdFYS6MiHoNj85z82Qpwyn3y1H JMRgncmcTwAeoN8fdPGGmYrr3biSmG7A1PzD57njjCKaHnRndTrGmzkgZAtJ1bdP4oVq xiDQ== 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:cc:to:from:dkim-signature; bh=/HSM7a17NXiCfmU3HyJmqf3yicBWvNyRVvlLx1TwWsY=; b=0p+D148PurC4zWYJsUCkIjqOWImVAOg9R5hPAnfHFQtH+JBfNN5xf5BiTfhG9TzOQ9 gZLTf6XZgoZvNcEbp5Njq4NUGib+2wryPuRn4F9ESlSVDdXAlz23SgKZ3Zk/O07UX8jc LZKgbUGMjEItugi7hmsvbKFcgWZrqU10JhDhk5EeIgxx3kmZD8e1lJDifMasxaF1YFaB mhzWFTh0WC/HBiJodyzSejBRW4ugAu+VbBgfdcQ7WFT2zWj62Nykyy40lyDHvuFmx4dA hBXM6CPlkbG+25U4b4oqQ9DYwiWr5LNche2KRTvvjOn22BCRQVRdCQTdZFPDBwEibIM8 f9FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XNWPy1Ul; 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=pass (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 m126si8126022oig.177.2020.04.06.15.13.37; Mon, 06 Apr 2020 15:13:49 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XNWPy1Ul; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbgDFWNI (ORCPT + 99 others); Mon, 6 Apr 2020 18:13:08 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:38466 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726130AbgDFWNI (ORCPT ); Mon, 6 Apr 2020 18:13:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586211187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/HSM7a17NXiCfmU3HyJmqf3yicBWvNyRVvlLx1TwWsY=; b=XNWPy1Uld+uI/l2bcBsiZnor6EXu0TKtSqerI8KgHVwgAQlM1wrXgZghu7P0x4ByIsxaAc ihqxsKbjDPQhjGH8v9NdKxyoLEmcTOkTt7lS/Yg96xXGkULTKOTL+Vav0Cx2WfWYyMm1kA LO9cIw/C4uW+2YdspB1hwyja5jbC19Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-175-_kdFTnKNMnCSBorMBVkrDg-1; Mon, 06 Apr 2020 18:13:05 -0400 X-MC-Unique: _kdFTnKNMnCSBorMBVkrDg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8FBC4801A07; Mon, 6 Apr 2020 22:13:03 +0000 (UTC) Received: from Ruby.redhat.com (ovpn-117-12.rdu2.redhat.com [10.10.117.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7ACC89D359; Mon, 6 Apr 2020 22:13:01 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org Cc: "Daniel Vetter" , "David Airlie" , "Maarten Lankhorst" , linux-kernel@vger.kernel.org, "Thomas Zimmermann" , "Maxime Ripard" , "Dave Airlie" , "Todd Previte" Subject: [PATCH v2 0/4] drm/dp_mst: drm_dp_check_act_status() fixes Date: Mon, 6 Apr 2020 18:12:49 -0400 Message-Id: <20200406221253.1307209-1-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Noticed this while fixing some unrelated issues with NAKs being dropped - we don't wait nearly long enough to receive ACTs from MST hubs in some situations. Also, we take the time to refactor this function a bit. This fixes some ACT timeouts I observed on an EVGA MST hub with i915. Lyude Paul (4): drm/dp_mst: Improve kdocs for drm_dp_check_act_status() drm/dp_mst: Reformat drm_dp_check_act_status() a bit drm/dp_mst: Increase ACT retry timeout to 3s drm/dp_mst: Print errors on ACT timeouts drivers/gpu/drm/drm_dp_mst_topology.c | 71 +++++++++++++++++---------- 1 file changed, 44 insertions(+), 27 deletions(-) --=20 2.25.1