drm/amdgpu: call hpd_irq_event on resume
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2015 19:30:56 +0000 (14:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2015 17:45:54 +0000 (12:45 -0500)
Need to call this on resume if displays changes during
suspend in order to properly be notified of changes.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index d5b421330145c87641a3b15143ca77d011eea4ca..58cb6987b0788d8722837ed0fd4667783ee1078d 100644 (file)
@@ -1788,6 +1788,7 @@ int amdgpu_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
        }
 
        drm_kms_helper_poll_enable(dev);
+       drm_helper_hpd_irq_event(dev);
 
        if (fbcon) {
                amdgpu_fbdev_set_suspend(adev, 0);