Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3756134ybb; Mon, 6 Apr 2020 15:14:55 -0700 (PDT) X-Google-Smtp-Source: APiQypIpJriWJgrYo33eYLKXHRPVnsqDCKWatOpnFpplPZSJ3V4en1Cn1JnAFeJqFMgOWuhFti4B X-Received: by 2002:a9d:6315:: with SMTP id q21mr1143101otk.16.1586211295441; Mon, 06 Apr 2020 15:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586211295; cv=none; d=google.com; s=arc-20160816; b=A0ntg519g2J8CPUgMCvyPQNQhq+yyVZsrsi3V5wsQgkBoxsZNlJSuEKkeu2Kmmx2Ed gcQ0OtGvQopfqMen5wJsZwVV7B9COmTE8RuVJ62um6sVcW6/4FA0+hl9YhdzN8l5h4yn X337OQx8ifYjdN99ST0k+AZ1fIopIePJ4WEKHLkQMlbRnWfADxrXeLOQCkLWIzQX7ts4 9NdYtmoykXNhWcsEAHHN09JSItQiAIk8QQtJADqrMjQQmYevxuovFnXCWn2H7IgsZp3e N5voFle9F69Vojtr0GC9ntyXL/rlv8lE11Pq9XepSzkXbqEWZptgPkXRfqeWHvJCj4oX 8t3Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T3FlwhOWDJvLvFawmFPQ57qSIHr7J/3P5oSzH8uVsA0=; b=p1+MjQ77URMyVyFbtjMqQ8IFxWgn9/8bNM2tk9ZuxBwFaVKwLli2iQnkHR6s/t0fPa P9Wziq4OLug/NSdNy1BoWvPMZnaN4kXXmr1z7iZM7KL7vbq2YQeaYfSUNN7Rxt3jzwSa u+/4eI4qIrky04N0Ioz4UBpC9xJcd9u3vPJB55JrA0vmEtyZDa1Uo6dsHihRT+dM0QyL qmpEqAfeJLN83Qfa2tkrSRDKUSVFc72CidqpCSedaFOgclpZZO1SzlNyhyO6Hx6YLPy1 EVEZeTyaBxgMFBHh+H/JzNf9m34wR52Mv1nheF04FqdlN+G1WU643AP1LmbJcjFA+a63 NT7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IOxxbLWI; 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 k3si7892290oib.82.2020.04.06.15.14.43; Mon, 06 Apr 2020 15:14:55 -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=IOxxbLWI; 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 S1726438AbgDFWNM (ORCPT + 99 others); Mon, 6 Apr 2020 18:13:12 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:50740 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726331AbgDFWNL (ORCPT ); Mon, 6 Apr 2020 18:13:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586211190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T3FlwhOWDJvLvFawmFPQ57qSIHr7J/3P5oSzH8uVsA0=; b=IOxxbLWIlchQbFAmib7a7fjlDQyY3L6k76rDJJS/K1xF/RyKzxAGwDRiLqJ51wFVnGeZPS fgLQde8pfitXvmoS1YYhjEMFafVd0WcqrbCf/0Gw8WNIbMvZLuY6U3C+aAdSaYy+eObr6Y YXdPTQ8WFrEy+qLUjD9Z0oLavfHZAuI= 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-400-qNlv8e2wOmWQpO09_OjX1w-1; Mon, 06 Apr 2020 18:13:06 -0400 X-MC-Unique: qNlv8e2wOmWQpO09_OjX1w-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 DB7B2DBA8; Mon, 6 Apr 2020 22:13:04 +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 D3BE1608E1; Mon, 6 Apr 2020 22:13:03 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org Cc: Sean Paul , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] drm/dp_mst: Improve kdocs for drm_dp_check_act_status() Date: Mon, 6 Apr 2020 18:12:50 -0400 Message-Id: <20200406221253.1307209-2-lyude@redhat.com> In-Reply-To: <20200406221253.1307209-1-lyude@redhat.com> References: <20200406221253.1307209-1-lyude@redhat.com> MIME-Version: 1.0 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 No functional changes. Signed-off-by: Lyude Paul Cc: Sean Paul --- drivers/gpu/drm/drm_dp_mst_topology.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_= dp_mst_topology.c index 5b205aea58d4..828ca63cc576 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -4462,10 +4462,14 @@ static int drm_dp_dpcd_write_payload(struct drm_d= p_mst_topology_mgr *mgr, =20 =20 /** - * drm_dp_check_act_status() - Check ACT handled status. + * drm_dp_check_act_status() - Polls for ACT handled status. * @mgr: manager to use * - * Check the payload status bits in the DPCD for ACT handled completion. + * Tries waiting for the MST hub to finish updating it's payload table b= y + * polling for the ACT handled bit. + * + * Returns: + * 0 if the ACT was handled in time, negative error code on failure. */ int drm_dp_check_act_status(struct drm_dp_mst_topology_mgr *mgr) { --=20 2.25.1