Merge "disp: msm: sde: add offline WB QoS support"

This commit is contained in:
qctecmdr
2022-01-10 18:41:50 -08:00
gecommit door Gerrit - the friendly Code Review server
bovenliggende 55888849a1 b7f241585a
commit 69d1699364
10 gewijzigde bestanden met toevoegingen van 111 en 33 verwijderingen

Bestand weergeven

@@ -494,6 +494,7 @@ enum {
VBIF_QOS_CWB_REMAP,
VBIF_QOS_LUTDMA_REMAP,
VBIF_QOS_CNOC_REMAP,
VBIF_QOS_OFFLINE_WB_REMAP,
VBIF_PROP_MAX,
};
@@ -928,6 +929,8 @@ static struct sde_prop_type vbif_prop[] = {
{VBIF_QOS_CWB_REMAP, "qcom,sde-vbif-qos-cwb-remap", false, PROP_TYPE_U32_ARRAY},
{VBIF_QOS_LUTDMA_REMAP, "qcom,sde-vbif-qos-lutdma-remap", false, PROP_TYPE_U32_ARRAY},
{VBIF_QOS_CNOC_REMAP, "qcom,sde-vbif-qos-cnoc-remap", false, PROP_TYPE_U32_ARRAY},
{VBIF_QOS_OFFLINE_WB_REMAP, "qcom,sde-vbif-qos-offline-wb-remap", false,
PROP_TYPE_U32_ARRAY},
};
static struct sde_prop_type uidle_prop[] = {
@@ -3735,6 +3738,11 @@ static int sde_vbif_parse_dt(struct device_node *np,
if (rc)
goto end;
rc = _validate_dt_entry(np, &vbif_prop[VBIF_QOS_OFFLINE_WB_REMAP], 1,
&prop_count[VBIF_QOS_OFFLINE_WB_REMAP], NULL);
if (rc)
goto end;
sde_cfg->vbif_count = off_count;
rc = _read_dt_entry(np, vbif_prop, ARRAY_SIZE(vbif_prop), prop_count,