tests: Add kms_legacy_colorkey

Add a quick test to make sure the legacy set colorkey ioctl only works
for sprite planes.

v2: Drop igt_fixtures

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä
2015-03-27 20:51:46 +02:00
parent 4271b15f3c
commit 2b74b2bb33
4 changed files with 78 additions and 0 deletions
+4
View File
@@ -274,6 +274,10 @@ void igt_wait_for_vblank(int drm_fd, enum pipe pipe);
#define for_each_pipe(display, pipe) \
for (pipe = 0; pipe < igt_display_get_n_pipes(display); pipe++) \
#define for_each_plane_on_pipe(display, pipe, plane) \
for (int i__ = 0; (plane) = &(display)->pipes[(pipe)].planes[i__], \
i__ < (display)->pipes[(pipe)].n_planes; i__++)
/*
* Can be used with igt_output_set_pipe() to mean we don't care about the pipe
* that should drive this output