disp: msm: sde: add demura v2 support

Add support for demura v2 by adding demura blocks
2 and 3 for pineapple target.

Change-Id: I9e6107480ab44853ca49e6396787378c5c70557a
Signed-off-by: Mitika Dodiya <quic_mdodiya@quicinc.com>
This commit is contained in:
Mitika Dodiya
2022-07-25 23:24:57 +05:30
committed by Gerrit - the friendly Code Review server
부모 571d51727b
커밋 c9298e3712
10개의 변경된 파일293개의 추가작업 그리고 74개의 파일을 삭제

파일 보기

@@ -3946,7 +3946,8 @@ static void _sde_plane_setup_capabilities_blob(struct sde_plane *psde,
index = (master_plane_id == 0) ? 0 : 1;
if (test_bit(SDE_FEATURE_DEMURA, catalog->features) &&
catalog->demura_supported[psde->pipe][index] != ~0x0)
sde_kms_info_add_keyint(info, "demura_block", index);
sde_kms_info_add_keyint(info, "demura_block",
catalog->demura_supported[psde->pipe][index]);
if (psde->features & BIT(SDE_SSPP_SEC_UI_ALLOWED))
sde_kms_info_add_keyint(info, "sec_ui_allowed", 1);