summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2014-06-30 16:44:27 -0700
committerDamien Lespiau <damien.lespiau@intel.com>2014-07-04 12:04:17 +0100
commit04067c3d5029f6ca28e6e14fffa47eecbd0e9c70 (patch)
tree211610a2b1ce7de7c9253418d1dc249acae5861b /lib
parent794a9fd6bc24b0bcc9eb8a9a59c924fd5229f25c (diff)
lib/kms: Drop primary plane windowing test from igt_plane_set_position()
None of our hardware can support this today, but we'd like to be able to write tests that check that the kernel returns the proper error code when userspace tries it anyway. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_kms.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 313d4ae4..2442c4b7 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1230,12 +1230,6 @@ void igt_plane_set_position(igt_plane_t *plane, int x, int y)
igt_pipe_t *pipe = plane->pipe;
igt_display_t *display = pipe->display;
- /*
- * XXX: Some platforms don't need the primary plane to cover the
- * whole pipe. Of course this test becomes wrong when we support that.
- */
- igt_assert(!plane->is_primary || (x == 0 && y == 0));
-
LOG(display, "%c.%d: plane_set_position(%d,%d)\n",
pipe_name(pipe->pipe), plane->index, x, y);