1
0

disp: msm: sde: remove hardcoding of LLCC use case id

Remove hardcoding LLCC use case id and use catalog information
to decide which system cache section to use.

Change-Id: I9748ca1f3569db0cf77689af296def0759fe94cc
Signed-off-by: Amine Najahi <quic_anajahi@quicinc.com>
Este cometimento está contido em:
Amine Najahi
2022-03-14 16:47:26 -04:00
ascendente de4b82ec48
cometimento 213997b2c9
3 ficheiros modificados com 5 adições e 4 eliminações

Ver ficheiro

@@ -3526,6 +3526,7 @@ static int sde_cache_parse_dt(struct device_node *np,
return -EINVAL;
}
sc_cfg->llcc_uid = usecase_id;
sc_cfg->llcc_scid = llcc_get_slice_id(slice);
sc_cfg->llcc_slice_size = llcc_get_slice_size(slice);
SDE_DEBUG("img cache:%d usecase_id:%d, scid:%d slice_size:%zu kb\n",