Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5181266ybl; Wed, 22 Jan 2020 11:50:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzE5gzAPkCE23DGx8pmooec2TpTP6UDUOKXQjyJQ8dk8a9DnI85SW1uhwawgdA0RGh0RdgB X-Received: by 2002:a9d:5918:: with SMTP id t24mr8965690oth.310.1579722635810; Wed, 22 Jan 2020 11:50:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579722635; cv=none; d=google.com; s=arc-20160816; b=EOWaMYjmpiGZ2xd7o4Ed1w1BSj7ovFQ8Au2ZHnVsm5KgnlXb/4ICVDk4MrtIj52scI QCAB772RUouSzkUOZlbcBCj5OvEoB3WxSnAqpAfoEhyeSthxfMbwtN7OfhM6RFMe/PuF qX2PVVezbsrN4dRNfvxNAmOhLIqVQ6AHA5HRXLpKPAd3AMw1J85azdyTTw2s+ah5Vmlh DOKxOPC+UzBGdXZozJp/07zBoNt3DMLihr2Y3Vo7mbA6ciatFkAcOgufUHb113v62mHe QVq/4YeHpK1pASyjbzdyqMKToS9TmRqyHxuBoRG0ZFNH0RPh4Juya4KaR6lCv3HCUMGh YJpA== 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=Ma5Y1/pMEZixk7IDf2HYKU6je151JAJZTEKd6Ot7KFo=; b=zPGnhk4hL8T+UCLHjmIzzcnzeGtCcM3xz9LqaP9bB7fFXUFui67mFtfxWvLZSQpsEU xG9hKP42deaPwrrlprsyz5jLBbidJAwmY73VQ7bgOCzBybRSh0+P34unyNDnZ+ZiRqyY yTct2N6k6iK6cvkrqNFWvHN9MtRTgqAJboRtWItOm2OBf0A3ZBV5B2SmUCc9vTRoJJlN PhELW8rveSxZ/uTl/eg+bBmOOYwa5hh8LRTT5OWJANmjzJw4RY++z5Dfa0d8jsXcNz3f nm7V5TZJeRgCZTypaGxf3hklgCwQMa2bT9K1CRP0E8TAWTY7579I295gwT7grusuwu74 Fm9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pob899bk; 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 c2si26761316oto.207.2020.01.22.11.50.21; Wed, 22 Jan 2020 11:50:35 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pob899bk; 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 S1726232AbgAVTtB (ORCPT + 99 others); Wed, 22 Jan 2020 14:49:01 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:58733 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725827AbgAVTtB (ORCPT ); Wed, 22 Jan 2020 14:49:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579722539; 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; bh=Ma5Y1/pMEZixk7IDf2HYKU6je151JAJZTEKd6Ot7KFo=; b=Pob899bkxLkYzmULrX3MciJrt6kX2pUVCDmXzLYOGnjckCESPef7wbD60/3Hjsiw2CgAME bNWhtH7hIackvDQhTf+Lg6tVlZsvYJbtxrTZH031lpN3qZNszMhC0eK5VOMjA9uWVzSn9I WWbFV5aHwsfog7qIZ4xF5I83gRIP6rE= 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-330-POiDRitANUyQ9M88Y-KYTA-1; Wed, 22 Jan 2020 14:48:55 -0500 X-MC-Unique: POiDRitANUyQ9M88Y-KYTA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6C8A710937C5; Wed, 22 Jan 2020 19:48:53 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-90.bss.redhat.com [10.20.1.90]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5051A5D9E2; Wed, 22 Jan 2020 19:48:50 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org Cc: Wayne Lin , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org Subject: [PATCH] drm/dp_mst: Convert drm_dp_mst_topology_mgr.is_waiting_for_dwn_reply to bitfield Date: Wed, 22 Jan 2020 14:48:46 -0500 Message-Id: <20200122194846.16025-1-lyude@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Small nitpick that I noticed a second ago - we can save some space in the struct by making this a bitfield and sticking it with the rest of the bitfields. Also, some small cleanup to the kdocs for this member. There should be no functional changes in this patch. Signed-off-by: Lyude Paul Cc: Wayne Lin --- include/drm/drm_dp_mst_helper.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/drm/drm_dp_mst_helper.h b/include/drm/drm_dp_mst_hel= per.h index bcb39da9adb4..58bbab3684b5 100644 --- a/include/drm/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -590,6 +590,11 @@ struct drm_dp_mst_topology_mgr { */ bool payload_id_table_cleared : 1; =20 + /** + * @is_waiting_for_dwn_reply: whether we're waiting for a down reply. + */ + bool is_waiting_for_dwn_reply : 1; + /** * @mst_primary: Pointer to the primary/first branch device. */ @@ -619,11 +624,6 @@ struct drm_dp_mst_topology_mgr { */ struct mutex qlock; =20 - /** - * @is_waiting_for_dwn_reply: indicate whether is waiting for down repl= y - */ - bool is_waiting_for_dwn_reply; - /** * @tx_msg_downq: List of pending down replies. */ --=20 2.24.1