[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-16 Thread Ville Syrjälä
On Fri, Oct 16, 2015 at 04:35:02PM +0200, Daniel Vetter wrote: > On Fri, Oct 16, 2015 at 11:38:18AM +0300, Ville Syrjälä wrote: > > On Thu, Oct 15, 2015 at 05:32:12PM -0700, Matt Roper wrote: > > > On Thu, Oct 15, 2015 at 08:40:01PM +0300, ville.syrjala at > > > linux.intel.com wrote: > > > >

[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-16 Thread Daniel Vetter
On Fri, Oct 16, 2015 at 11:38:18AM +0300, Ville Syrjälä wrote: > On Thu, Oct 15, 2015 at 05:32:12PM -0700, Matt Roper wrote: > > On Thu, Oct 15, 2015 at 08:40:01PM +0300, ville.syrjala at linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > On atomic drivers we can dig out the

[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-16 Thread Ville Syrjälä
On Thu, Oct 15, 2015 at 05:32:12PM -0700, Matt Roper wrote: > On Thu, Oct 15, 2015 at 08:40:01PM +0300, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > On atomic drivers we can dig out the primary plane rotation from the > > plane state instead of looking at the

[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-16 Thread Matt Roper
On Fri, Oct 16, 2015 at 06:10:20PM +0300, Ville Syrjälä wrote: > On Fri, Oct 16, 2015 at 04:35:02PM +0200, Daniel Vetter wrote: > > On Fri, Oct 16, 2015 at 11:38:18AM +0300, Ville Syrjälä wrote: > > > On Thu, Oct 15, 2015 at 05:32:12PM -0700, Matt Roper wrote: > > > > On Thu, Oct 15, 2015 at

[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-15 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä On atomic drivers we can dig out the primary plane rotation from the plane state instead of looking at the legacy crtc->invert_dimensions flag. The flag is not set by anyone except omapdrm, and it would be racy to set it the same way in the

[PATCH 4/5] drm: Check crtc viewport correctly with rotated primary plane on atomic drivers

2015-10-15 Thread Matt Roper
On Thu, Oct 15, 2015 at 08:40:01PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > On atomic drivers we can dig out the primary plane rotation from the > plane state instead of looking at the legacy crtc->invert_dimensions > flag. The flag is not set by anyone except