msm: sde: demura support for register dma

Demura block of dpu will use the register dma path for programming.
Change updates the register dma frame-work to allow programming of the
demura block.

Change-Id: Ie5a64df1b2fffcb84d9554e5211249892ed2d96d
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
This commit is contained in:
Gopikrishnaiah Anandan
2020-01-06 11:59:46 -08:00
والد a8371c6a52
کامیت a337e44c28
11فایلهای تغییر یافته به همراه643 افزوده شده و 5 حذف شده

مشاهده پرونده

@@ -3565,8 +3565,11 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
psde->pipe_sblk->max_per_pipe_bw_high * 1000LL);
index = (master_plane_id == 0) ? 0 : 1;
if (catalog->has_demura &&
catalog->demura_supported[psde->pipe][index] != ~0x0)
catalog->demura_supported[psde->pipe][index] != ~0x0) {
sde_kms_info_add_keyint(info, "demura_block", index);
sde_kms_info_add_keyint(info, "demura_pipe_id",
psde->pipe - SSPP_DMA0);
}
if ((is_master &&
(psde->features & BIT(SDE_SSPP_INVERSE_PMA))) ||