diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-29 15:11:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-29 16:19:41 +0100 |
commit | d0ed91210795e75847b3a3da6b48b1179ff53ede (patch) | |
tree | 2a059a0579fed29630e9a3e9562ab54310ff6478 /lib/rendercopy.h | |
parent | 59f134450d25ba5a3cdf2dbf945e3fb06322874b (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/rendercopy.h')
-rw-r--r-- | lib/rendercopy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h index b03c1472..8fd9222b 100644 --- a/lib/rendercopy.h +++ b/lib/rendercopy.h @@ -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 */ |