summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-29 15:11:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-29 16:19:41 +0100
commitd0ed91210795e75847b3a3da6b48b1179ff53ede (patch)
tree2a059a0579fed29630e9a3e9562ab54310ff6478 /lib/drmtest.h
parent59f134450d25ba5a3cdf2dbf945e3fb06322874b (diff)
kms_flip: Exercise flip-vs-render
For machine with split BCS/RCS rings, we also need to test whether we correctly wait upon outstanding render work before flipping and changing modes. This should also serve to exercise the ring selection code for flips. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 5fecb2b0..ece478b1 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -25,6 +25,9 @@
*
*/
+#ifndef DRMTEST_H
+#define DRMTEST_H
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -269,6 +272,7 @@ struct kmstest_fb {
int height;
int depth;
unsigned stride;
+ unsigned tiling;
unsigned size;
cairo_t *cairo_ctx;
};
@@ -326,3 +330,5 @@ int igt_enable_prefault(void);
/* suspend and auto-resume system */
void igt_system_suspend_autoresume(void);
+
+#endif /* DRMTEST_H */