flip_test: split the flip handler into logical parts
authorImre Deak <imre.deak@intel.com>
Mon, 15 Oct 2012 23:37:15 +0000 (02:37 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 16 Oct 2012 16:34:28 +0000 (19:34 +0300)
commit960a3895a0b2a73d2c2c29910d705070940cc376
treeab8d6d3b9e40cf37ada5e608cb7d6d826171bbc5
parent9e43ecdf2113f61a28a71f67a2c464d40c732d59
flip_test: split the flip handler into logical parts

The handler consits of handle_event/run_test/check_state/update_state
logical steps, split the function accordingly. This is needed by the
following patches that need to do part of these steps for both flip and
vblank events.

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
tests/flip_test.c