diff options
author | Ville Syrjälä <[email protected]> | 2020-04-17 18:27:33 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-04-20 21:21:11 +0300 |
commit | 3c0ec2c2d5948356a22c8f1c08a8087b12a303e7 (patch) | |
tree | b7ade224d1a26ec93ff888a6812fa0d0cddf3bf5 /scripts/gdb/linux/utils.py | |
parent | eed22a46b979a3ccefd4820a73af167569ad4711 (diff) |
drm/i915: Flatten intel_dp_check_mst_status() a bit
Make intel_dp_check_mst_status() somewhat legible by humans.
Note that the return value of drm_dp_mst_hpd_irq() is always
either 0 or -ENOMEM, and we never did anything with the latter
so we can just ignore the whole thing.
We can also get rid of the direct drm_dp_mst_topology_mgr_set_mst(false)
call since returning -EINVAL causes the caller to do the very same call
for us.
Cc: Lyude Paul <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Lyude Paul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions