summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-11-24 14:32:44 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-12-02 12:45:55 -0500
commitdbb17a21c131eca94eb31136eee9a7fe5aff00d9 (patch)
tree6ba4618716bb62797be9bb2c040d66627d5e83c3 /drivers/gpu/drm/radeon/radeon_device.c
parent54fb2a5cd0baf8e97d743de411e2f832d1afa68d (diff)
downloadlinux-dbb17a21c131eca94eb31136eee9a7fe5aff00d9.tar.bz2
drm/radeon: call hpd_irq_event on resume
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
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index c566993a2ec3..d690df545b4d 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -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)