From patchwork Mon Dec 4 13:21:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juha-Pekka Heikkila X-Patchwork-Id: 10090237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B18960329 for ; Mon, 4 Dec 2017 13:22:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3736F28E2C for ; Mon, 4 Dec 2017 13:22:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C4D828E2E; Mon, 4 Dec 2017 13:22:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DFF7528E2C for ; Mon, 4 Dec 2017 13:22:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9195A6E34A; Mon, 4 Dec 2017 13:22:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 92CEF6E34A for ; Mon, 4 Dec 2017 13:22:52 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id j28so8496595pfk.8 for ; Mon, 04 Dec 2017 05:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8q3nsgfAHmqBeYtxipYqzKP9uT0PZ25WMo5YAfpbyaA=; b=e7MzhGSaj0LX1ihA6nyqCyxb2PCLAhm4GjIv0KEy7aHUFr19avBe/NIXV+31maGWnP LWHasa/mx1wgrMwm3lL64+JYtB5SGoOVSP3yaihx4PuDHrGt8FUQBCkr/xcLbKolsenP PPQDahGzVnErSPu5vd1qWtLZHIYyg4kagWj1djdFRHdAVgBQC8oAbDuH5DuyBqMm7359 7tvzBqzmpRmfIYRgjNBzaxTnldigftlaaNkvtAceraSJY3JexrxGzBYiUPIbJJkktD/N al1KZvzTiz4VYPKXMEZ5yEsIvEifW7mbfbyOcIjj1Aj1/D7u9CCTenokN0JMCB/z8UqO 7H8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8q3nsgfAHmqBeYtxipYqzKP9uT0PZ25WMo5YAfpbyaA=; b=kTWhYE/kD/S5BkYlACHcqEv+detF6zS3nC6n3g7ViqdzMrPednezY0HLfp9CyI3w2H WXLdkwiXcxmXHWdyFdpoHPXwAi0bSJbradEbHZYmF5PYRABLFxFIdBPmwarr+RSyzvP+ 3gB8TAIAA4RJbYlkc/9ESQgvYXJeLAXPvj/wbu2t2dNwAXyyJQAJYcRMcWZ709HiK3tc tr1++syF8A1mi54Qy+NPqbYJMpj3R2wQdCHWrdpBieWOISjRjjsU0wQXkKrQPoDslUSM cYS7seSZFzZSLtrB+PocFtcfJDEjBpqdkWClNCu5Vg2Bk065wXHTwXPxV5StejWLWWrR aD7g== X-Gm-Message-State: AJaThX6vZGWa7D5/RFu1uejp5PAf8OBGA7qHUPny9eALNQOVQJoFzlbD gB3ncNoYg8+9IyjURr9zRV3Heg== X-Google-Smtp-Source: AGs4zMZyZZvF9dCqNSFZIjA5LTcl7tI2/YPbjT4aUvj9olKbOtDN0VsFAgH7wq3B2kzm0AOfDGJ8gA== X-Received: by 10.99.188.2 with SMTP id q2mr10802872pge.332.1512393771783; Mon, 04 Dec 2017 05:22:51 -0800 (PST) Received: from jheikkil-mobl.fi.intel.com ([192.55.54.41]) by smtp.gmail.com with ESMTPSA id w9sm25120936pfk.16.2017.12.04.05.22.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 05:22:51 -0800 (PST) From: Juha-Pekka Heikkila To: intel-gfx@lists.freedesktop.org Date: Mon, 4 Dec 2017 15:21:23 +0200 Message-Id: <1512393683-18787-3-git-send-email-juhapekka.heikkila@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512393683-18787-1-git-send-email-juhapekka.heikkila@gmail.com> References: <1512393683-18787-1-git-send-email-juhapekka.heikkila@gmail.com> Subject: [Intel-gfx] [PATCH i-g-t 2/2] igt/kms_rotation_crc: Add RGB565 90 degree test for gen>9 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From Gen10 onwards RGB565 90 degree rotation is supported in hw. Signed-off-by: Juha-Pekka Heikkila --- tests/kms_rotation_crc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index f3b9d61..1769264 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -719,6 +719,14 @@ igt_main test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY); } + igt_subtest_f("primary-rotation-90-Y-tiled-16bpp") { + igt_require(gen >= 10); + data.rotation = IGT_ROTATION_90; + data.override_fmt = DRM_FORMAT_RGB565; + data.override_tiling = LOCAL_I915_FORMAT_MOD_Y_TILED; + test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY); + } + igt_subtest_f("primary-rotation-90-Y-tiled") { igt_require(gen >= 9); data.rotation = IGT_ROTATION_90;