drm/dp_mst: Don't drop NAKs for down responses
authorLyude Paul <lyude@redhat.com>
Fri, 3 Apr 2020 20:03:25 +0000 (16:03 -0400)
committerLyude Paul <lyude@redhat.com>
Mon, 6 Apr 2020 19:55:44 +0000 (15:55 -0400)
commit61272e47c18cd05c0c5e5a4a2bee736bf37d765d
tree511a3a1134ceb2cd9aab2d0b45b461cea095c141
parentcbfb1b74438fdab9ab34a24bb3a206033d807dc0
drm/dp_mst: Don't drop NAKs for down responses

It looks like that when we introduced the ability to handle multiple
down requests at once, we accidentally started dropping NAK replies -
causing sideband messages which got NAK'd to seemingly timeout and cause
all sorts of weirdness.

So, fix this by making sure we don't return from
drm_dp_mst_handle_down_rep() early, but instead treat NAKs like any
other message.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Fixes: fbc821c4a506 ("drm/mst: Support simultaneous down replies")
Cc: Wayne Lin <Wayne.Lin@amd.com>
Cc: Wayne Lin <waynelin@amd.com>
Cc: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403200325.885628-1-lyude@redhat.com
Reviewed-by: Sean Paul <sean@poorly.run>
drivers/gpu/drm/drm_dp_mst_topology.c