All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] kms_plane: Enumerate outputs before planes
@ 2017-11-21 19:52 Imre Deak
  2017-11-21 19:52 ` [PATCH i-g-t 1/2] kms_plane: Enumerate outputs before planes in position subtests Imre Deak
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Imre Deak @ 2017-11-21 19:52 UTC (permalink / raw)
  To: intel-gfx

Enumerate outputs before planes means we can avoid doing an extra
modeset when calculating the reference CRC during the test of each
plane. In addition when testing multiple outputs we can avoid a full
modeset we currently do whenever switching to a new output within a
subtest. This speeds up things especially on internal panels with long
power cycle delays.

Below is the runtime of kms_plane on my GLK before and after the change.
I excluded from this the DPMS and suspend subtests, since those
transitions have a bigger overhead, unrelated to this change.

With a single HDMI output:
 42s vs 26s

With a single eDP output:
115s vs 50s

With eDP+HDMI output:
171s vs 74s

Imre Deak (2):
  kms_plane: Enumerate outputs before planes in position subtests
  kms_plane: Enumerate outputs before planes in panning subtests

 tests/kms_plane.c | 120 +++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 69 deletions(-)

-- 
2.11.0

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

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

end of thread, other threads:[~2017-11-30 12:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 19:52 [PATCH i-g-t 0/2] kms_plane: Enumerate outputs before planes Imre Deak
2017-11-21 19:52 ` [PATCH i-g-t 1/2] kms_plane: Enumerate outputs before planes in position subtests Imre Deak
2017-11-21 19:52 ` [PATCH i-g-t 2/2] kms_plane: Enumerate outputs before planes in panning subtests Imre Deak
2017-11-22 12:03 ` ✓ Fi.CI.BAT: success for kms_plane: Enumerate outputs before planes Patchwork
2017-11-22 14:33 ` ✓ Fi.CI.IGT: " Patchwork
2017-11-23 14:53 ` ✓ Fi.CI.BAT: " Patchwork
2017-11-23 16:21 ` ✓ Fi.CI.IGT: " Patchwork
2017-11-29 15:07 ` [PATCH i-g-t 0/2] " Daniel Vetter
2017-11-30 12:06   ` Imre Deak

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.