Re: [Intel-gfx] [v2 10/11] drm/i915: Add 180 degree primary plane rotation support

2014-07-06 Thread Jindal, Sonika
On 7/4/2014 8:28 PM, Damien Lespiau wrote: On Fri, Jul 04, 2014 at 03:14:02PM +0530, sonika.jin...@intel.com wrote: +static int intel_primary_plane_set_property(struct drm_plane *plane, + struct drm_property *prop, + uint64_t

[Intel-gfx] [v2 10/11] drm/i915: Add 180 degree primary plane rotation support

2014-07-04 Thread sonika . jindal
From: Sonika Jindal sonika.jin...@intel.com Primary planes support 180 degree rotation. Expose the feature through rotation drm property. v2: Calculating linear/tiled offsets based on pipe source width and height. Added 180 degree rotation support in ironlake_update_plane. v3: Checking if CRTC

Re: [Intel-gfx] [v2 10/11] drm/i915: Add 180 degree primary plane rotation support

2014-07-04 Thread Damien Lespiau
On Fri, Jul 04, 2014 at 03:14:02PM +0530, sonika.jin...@intel.com wrote: +static int intel_primary_plane_set_property(struct drm_plane *plane, + struct drm_property *prop, + uint64_t val) +{ + struct drm_device *dev =