disp: msm: sde: expose cdm block count through connector

Expose the number of cdm blocks available through the connector
capabilities. Add CDM to the topology_control table, so usermode
can use the property to reserve the CDM block during modeset.
Additionally, fix a error code return during CDM block reservation
failure in sde resource manager.

Change-Id: Ib42ca4e8614076a8e5df77d8abc77a9e73674390
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
Bu işleme şunda yer alıyor:
Veera Sundaram Sankaran
2022-09-06 11:06:02 -07:00
işlemeyi yapan: Gerrit - the friendly Code Review server
ebeveyn 4afb745c53
işleme 8602fee9f8
4 değiştirilmiş dosya ile 12 ekleme ve 1 silme

Dosyayı Görüntüle

@@ -545,6 +545,9 @@ int sde_wb_connector_set_info_blob(struct drm_connector *connector,
sde_kms_info_add_keyint(info, "has_cwb_dither", test_bit(SDE_FEATURE_CWB_DITHER,
catalog->features));
if (catalog->cdm_count)
sde_kms_info_add_keyint(info, "cdm_count", catalog->cdm_count);
if (catalog->dnsc_blur_count && catalog->dnsc_blur_filters) {
sde_kms_info_add_keyint(info, "dnsc_blur_count", catalog->dnsc_blur_count);