[PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-19 Thread Ander Conselvan de Oliveira
Otherwise setting the rotation property will cause the primary plane to be disabled, caused by having a 0x0 initial value. v2: Rebase on top of the move to plane helpers. Cc: stable@vger.kernel.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87662 Signed-off-by: Ander Conselvan de Oliv

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Daniel Vetter
On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: > Otherwise setting the rotation property will cause the primary plane to > be disabled, caused by having a 0x0 initial value. > > v2: Rebase on top of the move to plane helpers. > > Cc: stable@vger.kernel.org > Bugzilla

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ander Conselvan de Oliveira
On 01/20/2015 11:22 AM, Daniel Vetter wrote: On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: Otherwise setting the rotation property will cause the primary plane to be disabled, caused by having a 0x0 initial value. v2: Rebase on top of the move to plane helpers. C

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ander Conselvan de Oliveira
On 01/20/2015 11:22 AM, Daniel Vetter wrote: On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: Otherwise setting the rotation property will cause the primary plane to be disabled, caused by having a 0x0 initial value. v2: Rebase on top of the move to plane helpers. C

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Ville Syrjälä
On Tue, Jan 20, 2015 at 11:33:22AM +0200, Ander Conselvan de Oliveira wrote: > On 01/20/2015 11:22 AM, Daniel Vetter wrote: > > On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira wrote: > >> Otherwise setting the rotation property will cause the primary plane to > >> be disabled,

Re: [PATCH v2] drm/i915: Initialize primary plane src/dst coords when reading hw state

2015-01-20 Thread Daniel Vetter
On Tue, Jan 20, 2015 at 11:46:57AM +0200, Ville Syrjälä wrote: > On Tue, Jan 20, 2015 at 11:33:22AM +0200, Ander Conselvan de Oliveira wrote: > > On 01/20/2015 11:22 AM, Daniel Vetter wrote: > > > On Mon, Jan 19, 2015 at 03:51:47PM +0200, Ander Conselvan de Oliveira > > > wrote: > > >> @@ -13346,6