[Intel-gfx] [PATCH v2 2/2] drm/i915: Merge of visible and !visible paths for primary planes

2014-09-10 Thread Ville Syrjälä
On Wed, Sep 10, 2014 at 09:25:29PM +0300, Ville Syrj?l? wrote: > On Wed, Sep 10, 2014 at 12:04:18PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Fold intel_pipe_set_base() in the update primary plane path merging > > pieces of code that are common to both paths. > > > > Basica

[Intel-gfx] [PATCH v2 2/2] drm/i915: Merge of visible and !visible paths for primary planes

2014-09-10 Thread Ville Syrjälä
On Wed, Sep 10, 2014 at 12:04:18PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Fold intel_pipe_set_base() in the update primary plane path merging > pieces of code that are common to both paths. > > Basically the the pin/unpin procedures are the same for both paths > and some check

[PATCH v2 2/2] drm/i915: Merge of visible and !visible paths for primary planes

2014-09-10 Thread Gustavo Padovan
From: Gustavo Padovan Fold intel_pipe_set_base() in the update primary plane path merging pieces of code that are common to both paths. Basically the the pin/unpin procedures are the same for both paths and some checks can also be shared (some of the were moved to the check() stage) v2: take Vi