All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/dp: Don't invalidate intel_dp_detect result
@ 2017-08-23 22:40 Puthikorn Voravootivat
  2017-08-23 22:57 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Puthikorn Voravootivat @ 2017-08-23 22:40 UTC (permalink / raw)
  To: intel-gfx
  Cc: Puthikorn Voravootivat, Jim Bride, Dhinakaran Pandiyan,
	Rodrigo Vivi

If the full detect is already done, we shouldn't need to do it
again.

This fixes the screen blinking issue that happen when calling
DRM_IOCTL_MODE_GETCONNECTOR while PSR is active. The blinking
is caused by full dp detect in intel_dp_long_pulse().

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
---
 drivers/gpu/drm/i915/intel_dp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index d3e5fdf0d2fa..152e7016d5f2 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4834,8 +4834,6 @@ intel_dp_detect(struct drm_connector *connector,
 	if (!intel_dp->detect_done)
 		status = intel_dp_long_pulse(intel_dp->attached_connector);
 
-	intel_dp->detect_done = false;
-
 	return status;
 }
 
-- 
2.14.1.342.g6490525c54-goog

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-08-24  1:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 22:40 [PATCH] drm/i915/dp: Don't invalidate intel_dp_detect result Puthikorn Voravootivat
2017-08-23 22:57 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-08-23 23:00 ` [PATCH] " Rodrigo Vivi
2017-08-23 23:32   ` Puthikorn Voravootivat
2017-08-23 23:39     ` Rodrigo Vivi
2017-08-24  1:09 ` Manasi Navare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.