Two small patches for MST
Subsystems (2)
cover Two small patches for MST
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for mst_mgr->payloads although it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on.
Harry Wentland (1):
drm/dp/mst: save vcpi with payloads
Mykola Lysenko (1):
drm/dp/mst: reply with ACK for UP reqs
drivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 6 lines
2.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 1/2 drm/dp/mst: reply with ACK for UP reqs
From: Mykola Lysenko <[email protected]>
Currently we reply with NACK to UP requests which might confuse receivers. We haven't seen any actual issues with this but should still respond to UP requests correctly.
--- drivers/gpu/drm/drm_dp_mst_topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_dp_mst_topology.c +1 -1
@@ -1823,7 +1823,7 @@ static int drm_dp_encode_up_ack_reply(struct drm_dp_sideband_msg_tx *msg, u8 req {struct drm_dp_sideband_msg_reply_body reply; - reply.reply_type =1 ; + reply.reply_type =0 ; reply.req_type = req_type;drm_dp_encode_sideband_reply (&reply, msg);return 0 ;
Signature · 6 lines
2.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/2 drm/dp/mst: save vcpi with payloads
In reply to Harry WentlandThis makes it possibly for drivers to find the associated mst_port by looking at the payload allocation table.
--- drivers/gpu/drm/drm_dp_mst_topology.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_dp_mst_topology.c +2 -0
@@ -1673,6 +1673,7 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)if (mgr->proposed_vcpis[i]) { port = container_of(mgr->proposed_vcpis[i], struct drm_dp_mst_port, vcpi); req_payload.num_slots = mgr->proposed_vcpis[i]->num_slots; + req_payload.vcpi = mgr->proposed_vcpis[i]->vcpi; }else { port =NULL ; req_payload.num_slots =0 ;
@@ -1688,6 +1689,7 @@ int drm_dp_update_payload_part1(struct drm_dp_mst_topology_mgr *mgr)if (req_payload.num_slots) {drm_dp_create_payload_step1 (mgr, mgr->proposed_vcpis[i]->vcpi, &req_payload); mgr->payloads[i].num_slots = req_payload.num_slots; + mgr->payloads[i].vcpi = req_payload.vcpi; }else if (mgr->payloads[i].num_slots) { mgr->payloads[i].num_slots =0 ;drm_dp_destroy_payload_step1 (mgr, port, port->vcpi.vcpi, &mgr->payloads[i]);
Signature · 6 lines
2.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Harry Wentland
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for
mst_mgr->payloadsalthough it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on.
For the series:
Quoted 10 lines
Harry Wentland (1):
drm/dp/mst: save vcpi with payloadsMykola Lysenko (1):
drm/dp/mst: reply with ACK for UP reqsdrivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 7 lines
--
2.1.4_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Wentland, Harry
Reviewed-by Alex DeucherThanks, Alex.
Dave, will you pick these up when pulling from Alex's tree if he includes them?
Thanks,
Harry
________________________________________
From: Alex Deucher <[email protected]>
Sent: Monday, December 14, 2015 10:26 AM
To: Wentland, Harry
Cc: Maling list - DRI developers
Subject: Re: [PATCH 0/2] Two small patches for MST
Quoted 5 lines · Harry Wentland
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for
mst_mgr->payloadsalthough it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on.
For the series:
Quoted 10 lines
Harry Wentland (1):
drm/dp/mst: save vcpi with payloadsMykola Lysenko (1):
drm/dp/mst: reply with ACK for UP reqsdrivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 7 lines
--
2.1.4_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 3 lines · Harry
Thanks, Alex.
Dave, will you pick these up when pulling from Alex's tree if he includes them?
I stuffed them into drm-misc, should land still for 4.5.
Cheers, Daniel
Quoted 43 lines
Thanks,
Harry________________________________________
From: Alex Deucher <[email protected]>
Sent: Monday, December 14, 2015 10:26 AM
To: Wentland, Harry
Cc: Maling list - DRI developers
Subject: Re: [PATCH 0/2] Two small patches for MSTQuoted 5 lines · Harry Wentland
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for
mst_mgr->payloadsalthough it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on.For the series:
Reviewed-by Alex Deucher <[email protected]>Quoted 10 lines
Harry Wentland (1):
drm/dp/mst: save vcpi with payloadsMykola Lysenko (1):
drm/dp/mst: reply with ACK for UP reqsdrivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Quoted 7 lines
--
2.1.4_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Awesome. Thanks, Daniel.
Harry
________________________________________
From: Daniel Vetter <[email protected]> on behalf of Daniel Vetter <[email protected]>
Sent: Monday, December 14, 2015 12:32 PM
To: Wentland, Harry
Cc: Alex Deucher; Maling list - DRI developers
Subject: Re: [PATCH 0/2] Two small patches for MST
Quoted 3 lines · Harry
Thanks, Alex.
Dave, will you pick these up when pulling from Alex's tree if he includes them?
I stuffed them into drm-misc, should land still for 4.5.
Cheers, Daniel
Quoted 35 lines
Thanks,
Harry________________________________________
From: Alex Deucher <[email protected]>
Sent: Monday, December 14, 2015 10:26 AM
To: Wentland, Harry
Cc: Maling list - DRI developers
Subject: Re: [PATCH 0/2] Two small patches for MSTQuoted 5 lines · Harry Wentland
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for
mst_mgr->payloadsalthough it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on.For the series:
Reviewed-by Alex Deucher <[email protected]>Quoted 13 lines
Harry Wentland (1):
drm/dp/mst: save vcpi with payloadsMykola Lysenko (1):
drm/dp/mst: reply with ACK for UP reqsdrivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)--
2.1.4
Quoted 8 lines
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel