commit | 31e4801aa2e59d4b42dc0fd42846a3aa7a6361af | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Thu Oct 13 12:43:17 2016 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Wed Nov 02 10:49:33 2016 -0400 |
tree | e91f294bd03e0c480291531a9a1a1008d2542d20 | |
parent | 73b65b197024f3f9ef16a28cc9533c011e0a3f6d [diff] |
drm/msm/mdp5: handle non-fullscreen base plane case 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. Also fix the case where there are zero enabled planes, where we also need to enable BORDER_OUT. Signed-off-by: Rob Clark <robdclark@gmail.com>