Skip to content

kms_plane: Enumerate outputs before planes

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kms_plane: Enumerate outputs before planes in position subteststests/kms_plane.c+23 -320 replies
2/2kms_plane: Enumerate outputs before planes in panning subteststests/kms_plane.c+28 -370 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel Vetter
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] kms_plane: Enumerate outputs before planes

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(-)
Signature · 6 lines
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx