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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2015 17:45:55 +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/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)