tests/flip_test: check -EBUSY and -EINVAL behaviour
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Oct 2012 19:40:54 +0000 (21:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Oct 2012 20:09:16 +0000 (22:09 +0200)
commitdc5d76e2bf95eadf299edfdfc51eee085f5c67d3
tree4324c12eec0648cc8ea22d3a1ff9e80341e21907
parent1422c22e8909b189bb7cc67ee1ee403c5bd81d08
tests/flip_test: check -EBUSY and -EINVAL behaviour

We want -EBUSY for a pending flip and -EINVAL if the pipe is off
(either dpms off or completely off). With the small exception that
someone thought it would be funny to return -EBUSY when the crtc is
fully off.
tests/flip_test.c