disp: msm: sde: adds ipcc client dpu phys id for hwfence config
This change adds a device-tree configurable property to define the ipcc client id of the dpu used for registers access and configuration. Starting pineapple, this is the ipcc client physical id, distinct from the ipcc client virtual id. Change-Id: Icb59111c85c7132c0efd7b207eaa5417cca013eb Signed-off-by: Grace An <quic_gracan@quicinc.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Gerrit - the friendly Code Review server

vecāks
b3b8331cdb
revīzija
340a1c3099
@@ -4365,7 +4365,7 @@ static int _sde_kms_mmu_init(struct sde_kms *sde_kms)
|
||||
ret = _sde_kms_one2one_mem_map_ipcc_reg(sde_kms, resource_size(res),
|
||||
HW_FENCE_IPCC_PROTOCOLp_CLIENTc(res->start,
|
||||
sde_kms->catalog->ipcc_protocol_id,
|
||||
HW_FENCE_IPCC_CLIENT_DPU));
|
||||
sde_kms->catalog->ipcc_client_phys_id));
|
||||
/* if mapping fails disable hw-fences */
|
||||
if (ret)
|
||||
sde_kms->catalog->hw_fence_rev = 0;
|
||||
@@ -4421,7 +4421,8 @@ static void sde_kms_init_hw_fences(struct sde_kms *sde_kms)
|
||||
|
||||
if (sde_kms->hw_mdp->ops.setup_hw_fences)
|
||||
sde_kms->hw_mdp->ops.setup_hw_fences(sde_kms->hw_mdp,
|
||||
sde_kms->catalog->ipcc_protocol_id, sde_kms->ipcc_base_addr);
|
||||
sde_kms->catalog->ipcc_protocol_id, sde_kms->catalog->ipcc_client_phys_id,
|
||||
sde_kms->ipcc_base_addr);
|
||||
}
|
||||
|
||||
static void sde_kms_init_shared_hw(struct sde_kms *sde_kms)
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user