From: ville.syrjala@linux.intel.com Subject: [PATCH 0/9] drm/i915: Plane rotation support Date: Mon, 30 Sep 2013 17:44:23 +0300 Message-ID: <1380552272-32585-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Recently some people from inside Intel have showed some interest in 180 degree plane rotation. To avoid a huge mess, I decided that I should implement the feature properly. So I snatched the rotation property from omapdrm, and moved some of the code into drm_crtc.c, added a bunch of helper stuff to drm_crtc/rect and implemented the relevant bits in i915. I didn't touch cursor or primary planes at all. I'm sort of hoping we might do the drm_plane conversion sometime soonish and then we'd avoid adding a bunch of plane properties to the crtc. One thing I don't really like is the current way of stuffing the bit number into the enum_list resulting in DRM_ROTATE_FOO being just the bit number. I'd prefer to make DRM_ROTATE_FOO the shifted bitmask. But I'm not sure if changing that would cause grief to userspace, so I left it alone for now.