Skip to contentSkip to conversation

drm: mst: Fix query_payload ack reply struct

PATCH In review Sean Paul 3 participants 4 messages Aug 29, 2019

Subsystems (3)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

PATCH 1/1 drm: mst: Fix query_payload ack reply struct

From: Sean Paul <[email protected]>

Spec says[1] Allocated_PBN is 16 bits

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

Fixes ad7f8a1f9ced ("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]> # v3.17+
---
 include/drm/drm_dp_mst_helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_dp_mst_helper.h +1 -1
index 2ba6253ea6d3..fc349204a71b 100644
@@ -334,7 +334,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 {
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
#1 lore raw

Is it worth actually CCing stable on this? This patch is certainly correct but I don't think we use this struct for anything quite yet.

Otherwise: Reviewed-by: Lyude Paul <[email protected]>

Quoted 37 lines · Sean Paul

From: Sean Paul <[email protected]>

Spec says[1] Allocated_PBN is 16 bits

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

Fixes ad7f8a1f9ced ("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]> # v3.17+
---
 include/drm/drm_dp_mst_helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_dp_mst_helper.h +1 -1
index 2ba6253ea6d3..fc349204a71b 100644
@@ -334,7 +334,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 {
Signature · 2 lines
Cheers,
	Lyude Paul
author
#2 lore raw
Quoted 4 lines · Lyude Paul

Is it worth actually CCing stable on this? This patch is certainly correct but I don't think we use this struct for anything quite yet.

Otherwise: Reviewed-by: Lyude Paul <[email protected]>

Thanks for the review! I've stripped the cc stable tag and pushed to drm-misc-next. We'll have to keep an eye out for Sasha's stable AI bot, I'm guessing it'll try to backport this to stable regardless.

Sean

Quoted 43 lines · Sean Paul
Quoted 37 lines

From: Sean Paul <[email protected]>

Spec says[1] Allocated_PBN is 16 bits

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

Fixes ad7f8a1f9ced ("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]> # v3.17+
---
 include/drm/drm_dp_mst_helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_dp_mst_helper.h +1 -1
index 2ba6253ea6d3..fc349204a71b 100644
@@ -334,7 +334,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 {
Signature · 2 lines
Cheers,
	Lyude Paul
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS
maintainer
#3 lore raw
Quoted 9 lines · Sean Paul
Quoted 4 lines · Lyude Paul

Is it worth actually CCing stable on this? This patch is certainly correct but I don't think we use this struct for anything quite yet.

Otherwise: Reviewed-by: Lyude Paul <[email protected]>

Thanks for the review! I've stripped the cc stable tag and pushed to drm-misc-next. We'll have to keep an eye out for Sasha's stable AI bot, I'm guessing it'll try to backport this to stable regardless.

Knowing the bot, it probably will :)

I'll add a note for myself...