disp: msm: sde: fix cont splash pipe identification

This change fixes the continuos splash logic that identifies the
pipes staged by bootloader. The same code flow is used in trusted ui
handover as well. Existing logic was counting the pipes twice if the pipe
is staged on both the layer mixers. This change simplifies the pipes
already staged before handover by using the pipe index to convey if
it is staged or not.

Change-Id: Idb255f2077161dc3553114ac5d04e0ef743bb5ea
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Šī revīzija ir iekļauta:
Abhijit Kulkarni
2021-05-13 00:00:18 -07:00
vecāks e12be40f65
revīzija 944a0629f5
6 mainīti faili ar 74 papildinājumiem un 113 dzēšanām

Parādīt failu

@@ -428,12 +428,11 @@ struct sde_hw_ctl_ops {
* Get all the sspp staged on a layer mixer
* @ctx : ctl path ctx pointer
* @lm : layer mixer enumeration
* @info : array address to populate connected sspp index info
* @info_max_cnt : maximum sspp info elements based on array size
* @Return: count of sspps info elements populated
* @info : structure to populate connected sspp index info
* @Return: count of sspps info elements populated
*/
u32 (*get_staged_sspp)(struct sde_hw_ctl *ctx, enum sde_lm lm,
struct sde_sspp_index_info *info, u32 info_max_cnt);
struct sde_sspp_index_info *info);
/**
* Flush the reg dma by sending last command.