From: Alex Deucher Date: Tue, 24 Nov 2015 19:30:56 +0000 (-0500) Subject: drm/amdgpu: call hpd_irq_event on resume X-Git-Tag: v6.1~17337^2~19^2~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54fb2a5cd0baf8e97d743de411e2f832d1afa68d;p=sdk%2Femulator%2Femulator-kernel.git drm/amdgpu: 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 Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index d5b421330145..58cb6987b078 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -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);