From d0ed91210795e75847b3a3da6b48b1179ff53ede Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 29 Aug 2013 15:11:47 +0100 Subject: 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 --- lib/drmtest.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/drmtest.h') 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 #include #include @@ -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 */ -- cgit v1.2.3