tests/kms_flip: nasty power management tests
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 May 2014 15:59:02 +0000 (17:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 May 2014 12:25:47 +0000 (14:25 +0200)
commit6727de0c1abe0b2d6d44255dd30a29dc3ee84993
treef2dbac8153c5d2aaaa16b7393d993b2b21b4941e
parentbd521b493e73d987669afbce8da6418e1aed7db6
tests/kms_flip: nasty power management tests

These check whether everything is still ok wrt vblank handling after
runtime pm and system suspend-resume.

In addition to the usual checks they also ensure that the vblank frame
counter isn't totally ridiculous, something Keith complained about
aeons ago. With Ville's drm_vblank_on/off rework this should now be
fixed and solid.

v2:
- Ignore seq_step, vblanks completely immediately when the crtc goes off
- Only run system suspend/resume tests once.

Cc: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/kms_flip.c