文件
android_kernel_samsung_sm86…/driver/vidc/inc/msm_vidc_fence.h
Akshata Sahukar 0a5549a6a9 video: driver: decouple fence structure from video buffer
Decouple fence structure from video buffer. Also add some
misc fence flow setup support.

Change-Id: Ia4e223a3a288f0dae3238850685f3a73d4b9400a
Signed-off-by: Akshata Sahukar <quic_asahukar@quicinc.com>
2022-02-14 09:46:11 -08:00

24 行
718 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __H_MSM_VIDC_FENCE_H__
#define __H_MSM_VIDC_FENCE_H__
#include "msm_vidc_inst.h"
#include "msm_vidc_buffer.h"
struct msm_vidc_fence *msm_vidc_fence_create(
struct msm_vidc_inst *inst);
int msm_vidc_create_fence_fd(struct msm_vidc_inst *inst,
struct msm_vidc_fence *fence);
int msm_vidc_fence_signal(struct msm_vidc_inst *inst,
u32 fence_id);
void msm_vidc_fence_destroy(struct msm_vidc_inst *inst,
struct msm_vidc_fence *fence);
int msm_vidc_fence_init(struct msm_vidc_inst *inst);
void msm_vidc_fence_deinit(struct msm_vidc_inst *inst);
#endif // __H_MSM_VIDC_FENCE_H__