diff options
author | Lyude Paul <[email protected]> | 2020-04-24 15:07:22 -0400 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2020-04-27 12:50:18 -0400 |
commit | dbc05ae3867628abce5619bfab868a43818bdb0d (patch) | |
tree | 375deb3ceac9799a5d30133d755bb7df1238ae87 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a5bff92eaac45bdf6221badf9505c26792fdf99e (diff) |
drm/dp_mst: Fix drm_dp_send_dpcd_write() return code
drm_dp_mst_wait_tx_reply() returns > 1 if time elapsed in
wait_event_timeout() before check_txmsg_state(mgr, txmsg) evaluated to
true. However, we make the mistake of returning this time from
drm_dp_send_dpcd_write() on success instead of returning the number of
bytes written - causing spontaneous failures during link probing:
[drm:drm_dp_send_link_address [drm_kms_helper]] *ERROR* GUID check on
10:01 failed: 3975
Yikes! So, fix this by returning the number of bytes written on success
instead.
Signed-off-by: Lyude Paul <[email protected]>
Fixes: cb897542c6d2 ("drm/dp_mst: Fix W=1 warnings")
Cc: Benjamin Gaignard <[email protected]>
Cc: Sean Paul <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions