[Intel-gfx] [PATCH i-g-t 0/2] kms_plane: Enumerate outputs before planes
Imre Deak
imre.deak at intel.com
Tue Nov 21 19:52:52 UTC 2017
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
More information about the Intel-gfx
mailing list