public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/6] eDP panel power sequencing optimizations
@ 2013-12-19 16:29 Paulo Zanoni
  2013-12-19 16:29 ` [PATCH 1/6] drm/i915: init the DP panel power seq variables earlier Paulo Zanoni
                   ` (5 more replies)
  0 siblings, 6 replies; 37+ messages in thread
From: Paulo Zanoni @ 2013-12-19 16:29 UTC (permalink / raw)
  To: intel-gfx; +Cc: Paulo Zanoni

From: Paulo Zanoni <paulo.r.zanoni@intel.com>

Hi

These patches save a lot of time on our eDP panel power sequencing times. We
were doing a lot of needless waits, so now our load times should be much
shorter.

This series should improve a little bit our driver load time, and it should
greatly improve our suspend time. The most relevant thing is that when we were
waiting for the "panel off" timeout (50ms on my machine), we were not just
waiting for it, but also waiting for the "backlight off" timeout (200ms) and the
"panel power cycle" timeout (500ms). QA did some measurements of a branch
containing these 6 patches + two patches removing the "wait for vblank timeout"
problems we have on Haswell, and the results are reported here:
https://bugs.freedesktop.org/show_bug.cgi?id=72211.

One of my worries about this series is that, due to the extremely smaller wait
times, we may get regression reports saying "my panel is now black!" due to
broken VBT/BIOS/panel/whatever. If this happens, IMHO instead of just reverting
the current patches, we should add some extra msleep() calls surrounded by FIXME
comments explicitly saying why we are waiting more than we should, because the
current code was silently hiding the fact that we were waiting more than we
should.

Thanks,
Paulo

Paulo Zanoni (6):
  drm/i915: init the DP panel power seq variables earlier
  drm/i915: save some time when waiting the eDP timings
  drm/i915: reset eDP timestamps on resume
  drm/i915: remove a column of zeros from the eDP wait definitions
  drm/i915: don't wait for power cycle when waiting for power off
  drm/i915: set the backlight panel delays registers to 1

 drivers/gpu/drm/i915/i915_drv.c      |  2 +
 drivers/gpu/drm/i915/i915_drv.h      | 29 ++++++++++++
 drivers/gpu/drm/i915/intel_ddi.c     |  1 +
 drivers/gpu/drm/i915/intel_display.c | 11 +++++
 drivers/gpu/drm/i915/intel_dp.c      | 88 ++++++++++++++++++++++++++++--------
 drivers/gpu/drm/i915/intel_drv.h     |  6 +++
 6 files changed, 118 insertions(+), 19 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2014-01-28  8:20 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 16:29 [PATCH 0/6] eDP panel power sequencing optimizations Paulo Zanoni
2013-12-19 16:29 ` [PATCH 1/6] drm/i915: init the DP panel power seq variables earlier Paulo Zanoni
2013-12-19 17:24   ` Jesse Barnes
2013-12-19 16:29 ` [PATCH 2/6] drm/i915: save some time when waiting the eDP timings Paulo Zanoni
2013-12-19 17:32   ` Jesse Barnes
2013-12-20  9:30   ` Jani Nikula
2013-12-20 14:24     ` Daniel Vetter
2014-01-03 18:27     ` Paulo Zanoni
2014-01-03 19:45       ` Paulo Zanoni
2014-01-17 13:09   ` Jani Nikula
2014-01-17 13:29     ` Daniel Vetter
2014-01-17 13:53       ` Daniel Vetter
2013-12-19 16:29 ` [PATCH 3/6] drm/i915: reset eDP timestamps on resume Paulo Zanoni
2013-12-19 17:35   ` Jesse Barnes
2014-01-03 19:46     ` Paulo Zanoni
2014-01-15 18:21       ` Jesse Barnes
2014-01-15 23:36         ` Daniel Vetter
2014-01-16 14:26           ` Paulo Zanoni
2014-01-17 20:17             ` Paulo Zanoni
2014-01-17 20:22               ` Chris Wilson
2014-01-17 21:11                 ` Paulo Zanoni
2014-01-17 21:21                   ` Chris Wilson
2014-01-17 21:34                     ` Daniel Vetter
2014-01-20 15:47                       ` Paulo Zanoni
2014-01-20 16:10                         ` Daniel Vetter
2013-12-19 16:29 ` [PATCH 4/6] drm/i915: remove a column of zeros from the eDP wait definitions Paulo Zanoni
2013-12-19 17:36   ` Jesse Barnes
2013-12-19 16:29 ` [PATCH 5/6] drm/i915: don't wait for power cycle when waiting for power off Paulo Zanoni
2013-12-19 17:38   ` Jesse Barnes
2013-12-19 18:34     ` Jesse Barnes
2013-12-19 16:29 ` [PATCH 6/6] drm/i915: set the backlight panel delays registers to 1 Paulo Zanoni
2013-12-19 17:39   ` Jesse Barnes
2014-01-17 13:57     ` Daniel Vetter
2014-01-20 16:12       ` Daniel Vetter
2014-01-28  7:57   ` Jani Nikula
2014-01-28  8:02     ` Daniel Vetter
2014-01-28  8:23       ` Jani Nikula

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