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>
Este commit está contenido en:
Veera Sundaram Sankaran
2022-09-06 11:06:02 -07:00
cometido por Gerrit - the friendly Code Review server
padre 4afb745c53
commit 8602fee9f8
Se han modificado 4 ficheros con 12 adiciones y 1 borrados

Ver fichero

@@ -57,6 +57,7 @@ static const struct drm_prop_enum_list e_topology_control[] = {
{SDE_RM_TOPCTL_DSPP, "dspp"},
{SDE_RM_TOPCTL_DS, "ds"},
{SDE_RM_TOPCTL_DNSC_BLUR, "dnsc_blur"},
{SDE_RM_TOPCTL_CDM, "cdm"},
};
static const struct drm_prop_enum_list e_power_mode[] = {
{SDE_MODE_DPMS_ON, "ON"},