OSDN Git Service

drm/nouveau: Resume hotplug interrupts earlier
authorLyude Paul <lyude@redhat.com>
Mon, 30 Sep 2019 23:03:29 +0000 (19:03 -0400)
committerLyude Paul <lyude@redhat.com>
Thu, 24 Oct 2019 18:28:06 +0000 (14:28 -0400)
commitac0de16a38a9ec7026ca96132e3883c564497068
treef67015c9e6dbb0100dcb5738b534d4d7baa9a852
parent09e530657e1c982d3dbc5e4302bf9207950c3d0a
drm/nouveau: Resume hotplug interrupts earlier

Currently, we enable hotplug detection only after we re-enable the
display. However, this is too late if we're planning on sending sideband
messages during the resume process - which we'll need to do in order to
reprobe the topology on resume.

So, enable hotplug events before reinitializing the display.

Cc: Juston Li <juston.li@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sean Paul <sean@poorly.run>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022023641.8026-11-lyude@redhat.com
drivers/gpu/drm/nouveau/nouveau_display.c