Эх сурвалжийг харах

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 <[email protected]>
Ingrid Gallardo 2 жил өмнө
parent
commit
b8ae2f789b

+ 1 - 1
msm/sde/sde_fence.c

@@ -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;
 
-		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);
 		return -EINVAL;
 	}

+ 1 - 1
msm/sde/sde_rm.c

@@ -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);
 
 		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;
 			break;
 		}