Skip to content

Commit

Permalink
drm: mst: Fix query_payload ack reply struct
Browse files Browse the repository at this point in the history
[ Upstream commit 268de6530aa18fe5773062367fd119f0045f6e88 ]

Spec says[1] Allocated_PBN is 16 bits

[1]- DisplayPort 1.2 Spec, Section 2.11.9.8, Table 2-98

Fixes: ad7f8a1 ("drm/helper: add Displayport multi-stream helper (v0.6)")
Cc: Lyude Paul <[email protected]>
Cc: Todd Previte <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
atseanpaul authored and gregkh committed Dec 31, 2019
1 parent c7401a4 commit f015785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drm/drm_dp_mst_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ struct drm_dp_resource_status_notify {

struct drm_dp_query_payload_ack_reply {
u8 port_number;
u8 allocated_pbn;
u16 allocated_pbn;
};

struct drm_dp_sideband_msg_req_body {
Expand Down

0 comments on commit f015785

Please sign in to comment.