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:
Chris Wilson
2013-08-29 15:11:47 +01:00
parent 59f134450d
commit d0ed912107
4 changed files with 103 additions and 32 deletions
+5
View File
@@ -1,3 +1,6 @@
#ifndef RENDERCOPY_H
#define RENDERCOPY_H
#include <stdlib.h>
#include <sys/ioctl.h>
#include <stdio.h>
@@ -81,3 +84,5 @@ void gen2_render_copyfunc(struct intel_batchbuffer *batch,
struct scratch_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
#endif /* RENDERCOPY_H */