disp: msm: sde: add support for wait on multiple hw fences

This change adds support to wait on multiple hardware fences by
creating a fence array so each dpu-client only gets signaled until all
the hw fences going to the same ctl-path are signaled. It also
accounts for if a fence is a fence array.

Change-Id: Iba4b1d2b7322aea64dc197ca7655920b79dbb919
Signed-off-by: Christina Oliveira <quic_coliveir@quicinc.com>
Tento commit je obsažen v:
Christina Oliveira
2022-10-05 10:06:52 -07:00
odevzdal Gerrit - the friendly Code Review server
rodič be07875590
revize cbc6d4a0a0
2 změnil soubory, kde provedl 109 přidání a 14 odebrání

Zobrazit soubor

@@ -73,6 +73,8 @@ enum sde_fence_event {
* @ipcc_out_signal_pp_idx: index of the output signal ping-pong
* @ipcc_out_client: destination client id (APPS for the FCTL)
* @ipcc_this_client: ipcc dpu client id (For Waipio: APPS, For Kailua: DPU HW)
* @dma_context: per client dma context used to create join fences
* @hw_fence_array_seqno: per-client seq number counter for join fences
*/
struct sde_hw_fence_data {
int client_id;
@@ -85,6 +87,8 @@ struct sde_hw_fence_data {
u32 ipcc_out_signal_pp_idx;
u32 ipcc_out_client;
u32 ipcc_this_client;
u64 dma_context;
u32 hw_fence_array_seqno;
};
#if IS_ENABLED(CONFIG_SYNC_FILE)