[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/15/2016 6:38 PM, Rob Clark wrote: > On Sat, Oct 15, 2016 at 8:57 AM, Archit Taneja > wrote: >> >> >> On 10/15/2016 5:02 PM, Rob Clark wrote: >>> >>> On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja >>> wrote: On 10/13/2016 10:18 PM, Rob Clark wrote: > > > If the

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/15/2016 5:02 PM, Rob Clark wrote: > On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja > wrote: >> >> On 10/13/2016 10:18 PM, Rob Clark wrote: >>> >>> If the bottom-most layer is not fullscreen, we need to use the BASE >>> mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT).

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/13/2016 10:18 PM, Rob Clark wrote: > If the bottom-most layer is not fullscreen, we need to use the BASE > mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The > blend_setup() code pretty much handled this already, we just had to > figure this out in _atomic_check() and

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Rob Clark
On Sat, Oct 15, 2016 at 8:57 AM, Archit Taneja wrote: > > > On 10/15/2016 5:02 PM, Rob Clark wrote: >> >> On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja >> wrote: >>> >>> >>> On 10/13/2016 10:18 PM, Rob Clark wrote: If the bottom-most layer is not fullscreen, we need to use the

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Rob Clark
On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja wrote: > > On 10/13/2016 10:18 PM, Rob Clark wrote: >> >> If the bottom-most layer is not fullscreen, we need to use the BASE >> mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The >> blend_setup() code pretty much handled this

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-14 Thread Archit Taneja
On 10/13/2016 10:18 PM, Rob Clark wrote: > If the bottom-most layer is not fullscreen, we need to use the BASE > mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The > blend_setup() code pretty much handled this already, we just had to > figure this out in _atomic_check() and

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-14 Thread Ville Syrjälä
On Thu, Oct 13, 2016 at 12:48:46PM -0400, Rob Clark wrote: > If the bottom-most layer is not fullscreen, we need to use the BASE > mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The > blend_setup() code pretty much handled this already, we just had to > figure this out in

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-14 Thread Rob Clark
On Fri, Oct 14, 2016 at 8:45 AM, Ville Syrjälä wrote: > On Thu, Oct 13, 2016 at 12:48:46PM -0400, Rob Clark wrote: >> If the bottom-most layer is not fullscreen, we need to use the BASE >> mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The >> blend_setup() code pretty much

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-13 Thread Rob Clark
If the bottom-most layer is not fullscreen, we need to use the BASE mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The blend_setup() code pretty much handled this already, we just had to figure this out in _atomic_check() and assign the stages appropriately. Signed-off-by: