disp: msm: sde: check fetch active registers for active data planes

Continuous splash setup checks the CTL configuration to determine and
log all planes that have been enabled for continuous splash boot.
This logic currently only checks the planes mapped to each LM on
a given control path, resulting in data planes being missed.

Update the boot plane enumeration logic to additionally check the CTL
fetch active registers to detect and log missed planes. This logic
checks against all planes found through the original enumeration path
to avoid logging the same plane twice. Note that planes found via the
fetch registers are assumed to be used across both rectangles due to
hardware logging limitations.

Change-Id: Ic1f4aaba94111fe096ba9764eeaef242beb6adf5
Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
Este commit está contenido en:
Christopher Braga
2020-06-26 17:02:19 -04:00
cometido por Gopikrishnaiah Anandan
padre db39b61a5f
commit 812782e76b
Se han modificado 5 ficheros con 120 adiciones y 18 borrados

Ver fichero

@@ -161,6 +161,12 @@ enum sde_sspp_type {
SSPP_TYPE_MAX
};
enum sde_sspp_rect {
R0,
R1,
R_MAX
};
enum sde_lm {
LM_0 = 1,
LM_1,
@@ -655,7 +661,7 @@ struct sde_splash_display {
u8 lm_ids[MAX_DATA_PATH_PER_DSIPLAY];
u8 dsc_ids[MAX_DATA_PATH_PER_DSIPLAY];
u8 vdc_ids[MAX_DATA_PATH_PER_DSIPLAY];
struct sde_sspp_index_info pipes[MAX_DATA_PATH_PER_DSIPLAY];
struct sde_sspp_index_info pipes[SSPP_MAX];
u8 ctl_cnt;
u8 lm_cnt;
u8 dsc_cnt;