]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/radeon: call hpd_irq_event on resume
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2015 19:32:44 +0000 (14:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:21 +0000 (15:07 -0800)
commit dbb17a21c131eca94eb31136eee9a7fe5aff00d9 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/radeon/radeon_device.c

index c566993a2ec3bcbe393ff14d079b0134f0426c7d..d690df545b4d5b81de4be552725e497254bd5541 100644 (file)
@@ -1744,6 +1744,7 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
        }
 
        drm_kms_helper_poll_enable(dev);
+       drm_helper_hpd_irq_event(dev);
 
        /* set the power state here in case we are a PX system or headless */
        if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled)