disp: msm: sde: expose number of rounded corner blocks
Expose the number of RC hardware blocks to handle multi-display use cases where RC feature needs to be enabled only if there are sufficent RC hardware blocks available. Change-Id: I37fe3ee4ac72894d9d51e832551d3fc19c0354b8 Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
@@ -5843,9 +5843,12 @@ static void sde_crtc_install_properties(struct drm_crtc *crtc,
|
||||
sde_kms_info_add_keyint(info, "dspp_count",
|
||||
catalog->dspp_count);
|
||||
|
||||
if (catalog->rc_count)
|
||||
if (catalog->rc_count) {
|
||||
sde_kms_info_add_keyint(info, "rc_count", catalog->rc_count);
|
||||
sde_kms_info_add_keyint(info, "rc_mem_size",
|
||||
catalog->dspp[0].sblk->rc.mem_total_size);
|
||||
}
|
||||
|
||||
if (catalog->demura_count)
|
||||
sde_kms_info_add_keyint(info, "demura_count",
|
||||
catalog->demura_count);
|
||||
|
Reference in New Issue
Block a user