From: Matt Roper Subject: [PATCH i-g-t 6/9] lib/kms: Drop primary plane windowing test from igt_plane_set_position() Date: Mon, 30 Jun 2014 16:44:27 -0700 Message-ID: <1404171870-10206-7-git-send-email-matthew.d.roper@intel.com> References: <1404171870-10206-1-git-send-email-matthew.d.roper@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id E412C6E0DE for ; Mon, 30 Jun 2014 16:44:44 -0700 (PDT) In-Reply-To: <1404171870-10206-1-git-send-email-matthew.d.roper@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 --- lib/igt_kms.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 313d4ae..2442c4b 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); -- 1.8.5.1