1
0

disp: msm: stage layer with zorder 0 as base layer

Add support to stage layer with zorder 0 as base
layer and stage borderfill only during null commit.

Change-Id: I54356c1b7834227cc3da00c211e71ac5816ce51a
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Este cometimento está contido em:
Krishna Manikandan
2019-11-29 14:36:49 +05:30
cometido por Gerrit - the friendly Code Review server
ascendente 782d4feb24
cometimento e99063c7a3
6 ficheiros modificados com 43 adições e 10 eliminações

Ver ficheiro

@@ -3464,7 +3464,10 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
if (catalog->mixer_count &&
catalog->mixer[0].sblk->maxblendstages) {
zpos_max = catalog->mixer[0].sblk->maxblendstages - 1;
if (zpos_max > SDE_STAGE_MAX - SDE_STAGE_0 - 1)
if (catalog->has_base_layer &&
(zpos_max > SDE_STAGE_MAX - 1))
zpos_max = SDE_STAGE_MAX - 1;
else if (zpos_max > SDE_STAGE_MAX - SDE_STAGE_0 - 1)
zpos_max = SDE_STAGE_MAX - SDE_STAGE_0 - 1;
}
} else if (plane->type != DRM_PLANE_TYPE_PRIMARY) {