lib/display: Add a way to specify we don't care about the pipe to use

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2014-02-06 15:45:42 +00:00
parent 5ec399b4a6
commit 09faa45f52
2 changed files with 14 additions and 4 deletions
+6
View File
@@ -170,6 +170,12 @@ void igt_plane_set_position(igt_plane_t *plane, int x, int y);
for (int i__ = 0; i__ < (display)->n_outputs; i__++) \
if ((output = &(display)->outputs[i__]), output->valid)
/*
* Can be used with igt_output_set_pipe() to mean we don't care about the pipe
* that should drive this output
*/
#define PIPE_ANY (-1)
#define IGT_FIXED(i,f) ((i) << 16 | (f))
#endif /* __IGT_KMS_H__ */