From: sonika.jindal@intel.com Subject: [PATCH 0/2] 180 Primary plane rotation: calling setplane in set_property Date: Tue, 19 Aug 2014 11:56:41 +0530 Message-ID: <1408429603-15058-1-git-send-email-sonika.jindal@intel.com> References: <53E98946.8010109@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 976F36E179 for ; Mon, 18 Aug 2014 23:31:31 -0700 (PDT) In-Reply-To: <53E98946.8010109@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 From: Sonika Jindal As suggested by Daniel, now calling intel_primary_plane_setplane in set_property. Inside setplane, the intel_plane's member variables were not updated in the structure. The first patch does that updation. >From kms_rotation_crc igt, drmModeSetCrtc was called to set up crtc for primary plane. So, intel_plane's members like x, y, w, h will not get updated and when setplane is called from set_property, the values will be invalid in intel_plane structure. So, updated the kms_plane_crc igt also to call igt_display_commit2 with COMMIT_UNIVERSAL. For legacy planes, I am still not sure how will this setplane approach work. Open for suggestions.. Dropping the r-b tag from the second patch. Sonika Jindal (2): drm/i915: Updating intel_plane members for primary plane in setplane drm/i915: Add 180 degree primary plane rotation support drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_display.c | 140 +++++++++++++++++++++++++++++++++- drivers/gpu/drm/i915/intel_pm.c | 6 ++ 3 files changed, 143 insertions(+), 4 deletions(-) -- 1.7.10.4