msm_vidc_fence.h 651 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef __H_MSM_VIDC_FENCE_H__
  6. #define __H_MSM_VIDC_FENCE_H__
  7. #include "msm_vidc_inst.h"
  8. #include "msm_vidc_buffer.h"
  9. int msm_vidc_fence_create(struct msm_vidc_inst *inst,
  10. struct msm_vidc_buffer *buf);
  11. int msm_vidc_fence_signal(struct msm_vidc_inst *inst,
  12. struct msm_vidc_buffer *buf);
  13. void msm_vidc_fence_destroy(struct msm_vidc_inst *inst,
  14. struct msm_vidc_buffer *buf);
  15. int msm_vidc_fence_init(struct msm_vidc_inst *inst);
  16. void msm_vidc_fence_deinit(struct msm_vidc_inst *inst);
  17. #endif // __H_MSM_VIDC_FENCE_H__