Skip to content

Commit 1cfff5f

Browse files
committed
drm/dp_mst: Convert drm_dp_mst_topology_mgr.is_waiting_for_dwn_reply to bitfield
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 <[email protected]> Cc: Wayne Lin <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent cce81ba commit 1cfff5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/drm/drm_dp_mst_helper.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,11 @@ struct drm_dp_mst_topology_mgr {
589589
*/
590590
bool payload_id_table_cleared : 1;
591591

592+
/**
593+
* @is_waiting_for_dwn_reply: whether we're waiting for a down reply.
594+
*/
595+
bool is_waiting_for_dwn_reply : 1;
596+
592597
/**
593598
* @mst_primary: Pointer to the primary/first branch device.
594599
*/
@@ -618,11 +623,6 @@ struct drm_dp_mst_topology_mgr {
618623
*/
619624
struct mutex qlock;
620625

621-
/**
622-
* @is_waiting_for_dwn_reply: indicate whether is waiting for down reply
623-
*/
624-
bool is_waiting_for_dwn_reply;
625-
626626
/**
627627
* @tx_msg_downq: List of pending down replies.
628628
*/

0 commit comments

Comments
 (0)