From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: [PATCH 11/11] tests/kms_rotation_crc: IGT for 180 degree HW rotation Date: Wed, 18 Jun 2014 12:32:00 +0100 Message-ID: <20140618113200.GD18833@strange.amr.corp.intel.com> References: <1403081847-4364-1-git-send-email-sonika.jindal@intel.com> <1403081847-4364-12-git-send-email-sonika.jindal@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 271C96E462 for ; Wed, 18 Jun 2014 04:32:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1403081847-4364-12-git-send-email-sonika.jindal@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: sonika.jindal@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Jun 18, 2014 at 02:27:27PM +0530, sonika.jindal@intel.com wrote: > From: Sonika Jindal > > Testcase for 180 degree HW rotation > > Cc: sagar.a.kamble@intel.com > > Signed-off-by: Sonika Jindal The test looks good to me (I haven't checked in details, the bar for igt is quite a bit lower). It shows two gaps in the igt kms API: - Retrieving the primary plane (there's a series from Matt fixing this and exposing the primary plane through igt_output_get_plane()) - Adding a set_property() convenience function (ala igt_plane_set_property("rotation", BIT(DRM_ROTATE_180))) (no-one is working on that just yet, can de done later) A small question before pushing this, have you checked that the test correctly skips when running with a kernel without rotation support? Thanks, -- Damien