disp: msm: sde: move hw-fence init error messages to debug
Current driver prints error messages when it fails registration for the display clients with the hw-fence driver, however, this is not an error as currently feature is disabled by default in hw-fence driver, which as result will fail registration for clients. Therefore, silent the error messages for a failed registration. Change-Id: I13b872db3452a57a885c73cc8f1cf512be986dd0 Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
This commit is contained in:
@@ -136,7 +136,7 @@ int sde_hw_fence_init(struct sde_hw_ctl *hw_ctl, bool use_dpu_ipcc)
|
|||||||
|
|
||||||
hwfence_data->hw_fence_handle = NULL;
|
hwfence_data->hw_fence_handle = NULL;
|
||||||
|
|
||||||
SDE_ERROR("error cannot register ctl_id:%d hw-fence client:%d\n", ctl_id,
|
SDE_DEBUG("error cannot register ctl_id:%d hw-fence client:%d\n", ctl_id,
|
||||||
hwfence_data->hw_fence_client_id);
|
hwfence_data->hw_fence_client_id);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
@@ -726,7 +726,7 @@ static int _init_hw_fences(struct sde_rm *rm, bool use_ipcc)
|
|||||||
struct sde_hw_ctl *ctl = to_sde_hw_ctl(iter.blk->hw);
|
struct sde_hw_ctl *ctl = to_sde_hw_ctl(iter.blk->hw);
|
||||||
|
|
||||||
if (sde_hw_fence_init(ctl, use_ipcc)) {
|
if (sde_hw_fence_init(ctl, use_ipcc)) {
|
||||||
pr_err("failed to init hw_fence idx:%d\n", ctl->idx);
|
SDE_DEBUG("failed to init hw_fence idx:%d\n", ctl->idx);
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user