diff options
author | Lyude Paul <[email protected]> | 2019-09-03 16:45:50 -0400 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2019-09-03 19:37:00 -0400 |
commit | a29d881875fc27c3ffe56af242adf38448b3d857 (patch) | |
tree | 1f3e68ebb80db0d93e7677628ef572bfda5dec0c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | fde61a7a7df46ce8206c8a7b3aa181c330113184 (diff) |
drm/dp_mst: Refactor drm_dp_mst_handle_up_req()
There's a couple of changes here, so to summarize:
* Remove the big ugly mgr->up_req_recv.have_eomt conditional to save on
indenting
* Store &mgr->up_req_recv.initial_hdr in a variable so we don't keep
going over 80 character long lines
* De-duplicate code for calling drm_dp_send_up_ack_reply() and getting
the MSTB via it's GUID
* Remove all of the duplicate calls to memset() and just use a goto
instead
* Actually do line wrapping
* Remove the unnecessary if (mstb) check before calling
drm_dp_mst_topology_put_mstb() - we are guaranteed to always have
mstb != NULL at that point in the function
Cc: Juston Li <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Harry Wentland <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions