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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux