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>
Tento commit je obsažen v:
Krishna Manikandan
2019-11-29 14:36:49 +05:30
odevzdal Gerrit - the friendly Code Review server
rodič 782d4feb24
revize e99063c7a3
6 změnil soubory, kde provedl 43 přidání a 10 odebrání

Zobrazit soubor

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
*/
#include <linux/iopoll.h>
@@ -197,6 +197,9 @@ static void sde_hw_lm_setup_dim_layer(struct sde_hw_mixer *ctx,
int stage_off;
u32 val = 0, alpha = 0;
if (dim_layer->stage == SDE_STAGE_BASE)
return;
stage_off = _stage_offset(ctx, dim_layer->stage);
if (stage_off < 0) {
SDE_ERROR("invalid stage_off:%d for dim layer\n", stage_off);