drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
authorLyude Paul <lyude@redhat.com>
Thu, 15 Nov 2018 01:39:51 +0000 (20:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 08:51:10 +0000 (09:51 +0100)
commit85c8c61007dd62aa611522dae361370e114cdb88
tree1d23b3693f94c0d8e9602b1508faa322382c33ec
parent4f44e58a561412c4225544220cdde8cf27defb34
drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()

commit b89fdf7ae8500feae1100d8b283176a44d31d698 upstream.

We need to actually make sure we check this on resume since otherwise we
won't know whether or not the topology is still there once we've
resumed, which will cause us to still think the topology is connected
even after it's been removed if the removal happens mid-suspend.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/dispnv50/disp.c