disp: msm: sde: increase display kickoff timeout for hw-fences
Starting with HW-Fencing, the frames hw kickoff can take longer to trigger, given that HW will wait for the input fences signal. Therefore, this change increments the time-outs to wait up to ~10 secs, which corresponds to the current input dma-fences timeout. This ~10secs wait is given in intervals, where the dma-fence is also checked, so in case that the client producer of the fence signals the dma-fence, but misses the hw-fence signaling, Display driver can handle this case and do a sw-override to start the fetching of the incoming frame without waiting for the input hw-fence ipc signal. Change-Id: I6fcacbbaa79ca9847da616bd52efdda4bb8fccae Signed-off-by: Christina Oliveira <quic_coliveir@quicinc.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2013 Red Hat
|
||||
* Author: Rob Clark <robdclark@gmail.com>
|
||||
@@ -431,4 +431,11 @@ void sde_plane_add_data_to_minidump_va(struct drm_plane *plane);
|
||||
* @plane: Pointer to drm plane structure with the input fence we want to dump
|
||||
*/
|
||||
void sde_plane_dump_input_fence(struct drm_plane *plane);
|
||||
|
||||
/**
|
||||
* sde_plane_is_sw_fence_signaled - determine if the sw input dma-fence is signaled
|
||||
* @plane: Pointer to drm plane structure with the input fence to check
|
||||
* Returns: true if the input sw fence is signaled, otherwise false.
|
||||
*/
|
||||
bool sde_plane_is_sw_fence_signaled(struct drm_plane *plane);
|
||||
#endif /* _SDE_PLANE_H_ */
|
||||
|
Fai riferimento in un nuovo problema
Block a user