mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user