disp: msm: sde: add per_pipe_bw_high option

This change populates values for per_pipe_bw_high
from the device tree. This value is exposed to userspace
as the bandwidth per pipe available in the no VFE
scenario.

Change-Id: I61346ee55dfd4b6b0736ecf0b96e061f4f3934c3
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
Samantha Tran
2019-05-02 11:27:42 -07:00
parent e6933ff2dc
commit c423e14b22
3 changed files with 15 additions and 0 deletions

View File

@@ -3508,6 +3508,8 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
psde->pipe_sblk->maxvdeciexp);
sde_kms_info_add_keyint(info, "max_per_pipe_bw",
psde->pipe_sblk->max_per_pipe_bw * 1000LL);
sde_kms_info_add_keyint(info, "max_per_pipe_bw_high",
psde->pipe_sblk->max_per_pipe_bw_high * 1000LL);
if ((!master_plane_id &&
(psde->features & BIT(SDE_SSPP_INVERSE_PMA))) ||