tests/gem_suspend: exercise fence restore code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Jul 2013 07:24:43 +0000 (09:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jul 2013 18:46:57 +0000 (20:46 +0200)
commit10834f86102e7dae242a0cbda463a2d7543401dd
tree0ba417638a3b9f1f5342f62436363baf5a3ecbc5
parent5bc0324e86ac6cf7c67fea929f0f1f48ca9711f9
tests/gem_suspend: exercise fence restore code

This exercise the bug fixed in

commit 94a335dba34ff47cad3d6d0c29b452d43a1be3c8
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Jul 17 14:51:28 2013 +0200

    drm/i915: correctly restore fences with objects attached

For fun I've also added a subtest for the inverse transition.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
lib/drmtest.h
tests/.gitignore
tests/Makefile.am
tests/gem_suspend.c [new file with mode: 0644]