summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-11-24 14:32:44 -0500
committerBen Hutchings <ben@decadent.org.uk>2016-02-13 10:34:04 +0000
commit9b6775a50007e1ce56feb7c48b243a02912b576c (patch)
treecbbaefff9bd6f4483f7a0a2540e1f83610d82ebe
parentf247d52ac47d2cccf7536ca98f6a741a8f028174 (diff)
downloadlwn-9b6775a50007e1ce56feb7c48b243a02912b576c.tar.gz
lwn-9b6775a50007e1ce56feb7c48b243a02912b576c.zip
drm/radeon: call hpd_irq_event on resume
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> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-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 8cde84b666d5..e51f09f7a175 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -960,6 +960,7 @@ int radeon_resume_kms(struct drm_device *dev)
}
drm_kms_helper_poll_enable(dev);
+ drm_helper_hpd_irq_event(dev);
return 0;
}