disp: msm: sde: disable border color on empty blendstage

This change disables the border color on the layer mixer,
based on the caller's request. This is required to totally
disconnect the layer mixer hardware when it is not
participating in blending the pixels. Having empty blendstage
but border color enabled, allows Layer mixer hw to produce
border pixels even when blend stage is empty.

Change-Id: I8e84aeedffbd42ad793a167a6cc5a3a653864c1a
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Este commit está contenido en:
Abhijit Kulkarni
2020-08-07 12:58:19 -07:00
padre faf4a8b1c8
commit 9c9159afdb
Se han modificado 4 ficheros con 15 adiciones y 10 borrados

Ver fichero

@@ -423,12 +423,14 @@ struct sde_hw_ctl_ops {
/**
* Configure layer mixer to pipe configuration
* @ctx : ctl path ctx pointer
* @lm : layer mixer enumeration
* @cfg : blend stage configuration
* @ctx : ctl path ctx pointer
* @lm : layer mixer enumeration
* @cfg : blend stage configuration
* @disable_border: if true disable border, else enable border out
*/
void (*setup_blendstage)(struct sde_hw_ctl *ctx,
enum sde_lm lm, struct sde_hw_stage_cfg *cfg);
enum sde_lm lm, struct sde_hw_stage_cfg *cfg,
bool disable_border);
/**
* Get all the sspp staged on a layer mixer