disp: msm: sde: add support for DMA 4,5 for Kalama

Expand various SSPP and CTL related data structures
to support DMA 4,5.

Change-Id: I0ce052b6a2f1599a9b6eb82ce8e4f34f4c68333d
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
Amine Najahi
2021-11-16 13:37:30 -05:00
parent 2d3a255c06
commit d36499ca86
5 changed files with 31 additions and 13 deletions

View File

@@ -3703,11 +3703,11 @@ static void _sde_plane_setup_capabilities_blob(struct sde_plane *psde,
sde_kms_info_add_keyint(info, "max_per_pipe_bw_high",
psde->pipe_sblk->max_per_pipe_bw_high * 1000LL);
if (psde->pipe <= SSPP_VIG3 && psde->pipe >= SSPP_VIG0)
if (SDE_SSPP_VALID_VIG(psde->pipe))
pipe_id = psde->pipe - SSPP_VIG0;
else if (psde->pipe <= SSPP_RGB3 && psde->pipe >= SSPP_RGB0)
else if (SDE_SSPP_VALID_RGB(psde->pipe))
pipe_id = psde->pipe - SSPP_RGB0;
else if (psde->pipe <= SSPP_DMA3 && psde->pipe >= SSPP_DMA0)
else if (SDE_SSPP_VALID_DMA(psde->pipe))
pipe_id = psde->pipe - SSPP_DMA0;
else
pipe_id = -1;