]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:18 +0000 (15:07 -0800)
commit 54fb2a5cd0baf8e97d743de411e2f832d1afa68d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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);