All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/edp: Only use alternate fixed mode when requested
@ 2018-04-10 18:33 clinton.a.taylor
  2018-04-10 18:46 ` ✗ Fi.CI.BAT: warning for " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: clinton.a.taylor @ 2018-04-10 18:33 UTC (permalink / raw)
  To: Intel-gfx; +Cc: Rodrigo Vivi

From: Clint Taylor <clinton.a.taylor@intel.com>

In commit dc911f5bd8aa ("drm/i915/edp: Allow alternate fixed mode for eDP
if available."), the patch was always selecting the alternate refresh rate
even though user space was asking for the higher rate. This patch adds a
check for vrefresh rate as well as the rest of the mode geometry.

Fixes: dc911f5bd8aac ("Allow alternate fixed mode for eDP if available.")
Cc: David Weinehall <david.weinehall@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 62f82c4..c4c0e79 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1681,7 +1681,8 @@ static bool intel_edp_compare_alt_mode(struct drm_display_mode *m1,
 			m1->vdisplay == m2->vdisplay &&
 			m1->vsync_start == m2->vsync_start &&
 			m1->vsync_end == m2->vsync_end &&
-			m1->vtotal == m2->vtotal);
+			m1->vtotal == m2->vtotal &&
+			m1->vrefresh == m2->vrefresh);
 	return bres;
 }
 
-- 
1.9.1

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

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

end of thread, other threads:[~2018-05-02 13:56 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 18:33 [PATCH] drm/i915/edp: Only use alternate fixed mode when requested clinton.a.taylor
2018-04-10 18:46 ` ✗ Fi.CI.BAT: warning for " Patchwork
2018-04-10 20:19 ` [PATCH] " Chris Wilson
2018-04-10 20:40 ` ✗ Fi.CI.IGT: warning for " Patchwork
2018-04-11 23:13 ` [PATCH] " clinton.a.taylor
2018-04-11 23:11   ` Chris Wilson
2018-04-12 21:31     ` Clint Taylor
2018-04-14 17:57       ` Vivi, Rodrigo
2018-04-30  7:49         ` Jani Nikula
2018-04-30 21:54           ` Clint Taylor
2018-04-12  0:04 ` ✓ Fi.CI.BAT: success for drm/i915/edp: Only use alternate fixed mode when requested (rev2) Patchwork
2018-04-12  3:55 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-05-01  0:09 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp: Only use alternate fixed mode when requested (rev3) Patchwork
2018-05-01  0:11 ` [PATCH V3] drn/i915/edp: Only use alternate fixed mode when requested clinton.a.taylor
2018-05-02  7:22   ` Jani Nikula
2018-05-02 13:56     ` Rodrigo Vivi
2018-05-01  0:28 ` ✓ Fi.CI.BAT: success for drm/i915/edp: Only use alternate fixed mode when requested (rev3) Patchwork
2018-05-01  2:52 ` ✓ Fi.CI.IGT: " Patchwork

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.