public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "drm/amdgpu: fix vblank_time when displays are off"
@ 2017-08-17 20:36 Alex Deucher
  2017-08-18 16:16 ` Greg KH
  2017-08-27 12:54 ` Patch "Revert "drm/amdgpu: fix vblank_time when displays are off"" has been added to the 4.12-stable tree gregkh
  0 siblings, 2 replies; 6+ messages in thread
From: Alex Deucher @ 2017-08-17 20:36 UTC (permalink / raw)
  To: gregkh, stable; +Cc: Alex Deucher

This reverts commit 2dc1889ebf8501b0edf125e89a30e1cf3744a2a7.

Fixes a suspend and resume regression.

bug: https://bugzilla.kernel.org/show_bug.cgi?id=196615
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org> # 4.12.x
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
index c0a8062..f4a4efe 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
@@ -839,8 +839,6 @@ static int amdgpu_cgs_get_active_displays_info(struct cgs_device *cgs_device,
 
 	mode_info = info->mode_info;
 	if (mode_info) {
-		/* if the displays are off, vblank time is max */
-		mode_info->vblank_time_us = 0xffffffff;
 		/* always set the reference clock */
 		mode_info->ref_clock = adev->clock.spll.reference_freq;
 	}
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-27 12:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 20:36 [PATCH] Revert "drm/amdgpu: fix vblank_time when displays are off" Alex Deucher
2017-08-18 16:16 ` Greg KH
2017-08-18 16:22   ` Alex Deucher
2017-08-18 16:31     ` Greg KH
     [not found]       ` <BN6PR12MB16528B8850741D827FCE37ECF7800@BN6PR12MB1652.namprd12.prod.outlook.com>
2017-08-18 23:35         ` 'Greg KH'
2017-08-27 12:54 ` Patch "Revert "drm/amdgpu: fix vblank_time when displays are off"" has been added to the 4.12-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox