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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user