Re: [Intel-gfx] [PATCH 6/9] drm: Add drm_rotation_simplify()

2013-10-14 Thread Ville Syrjälä
On Mon, Oct 14, 2013 at 04:46:50PM +0300, Imre Deak wrote: > On Mon, 2013-09-30 at 17:44 +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > drm_rotation_simplify() can be used to eliminate unsupported rotation > > flags. It will check if any unsupported flags are present,

Re: [Intel-gfx] [PATCH 6/9] drm: Add drm_rotation_simplify()

2013-10-14 Thread Imre Deak
On Mon, 2013-09-30 at 17:44 +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > drm_rotation_simplify() can be used to eliminate unsupported rotation > flags. It will check if any unsupported flags are present, and if so > it will modify the rotation to an alternate form by addi

[PATCH 6/9] drm: Add drm_rotation_simplify()

2013-09-30 Thread ville . syrjala
From: Ville Syrjälä drm_rotation_simplify() can be used to eliminate unsupported rotation flags. It will check if any unsupported flags are present, and if so it will modify the rotation to an alternate form by adding 180 degrees to rotation angle, and flipping the reflect x and y bits. The hope