Files
kernel_common_drivers/include/linux/amlogic/aml_sync_api.h
T
wanwei.jiang af26eeaf9d media: enable the same config as kernel 5.4 [1/1]
PD#SWPL-77521

Problem:
enable the same config as kernel 5.4

Solution:
enable the same config as kernel 5.4

Verify:
s4d

Change-Id: I73f6eb8a896956337503477f32c218fe465cddda
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-04-11 20:57:12 +08:00

15 lines
486 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
struct dma_fence;
void *aml_sync_create_timeline(const char *tname);
int aml_sync_create_fence(void *timeline, unsigned int value);
int aml_sync_inc_timeline(void *timeline, unsigned int value);
struct dma_fence *aml_sync_get_fence(int syncfile_fd);
int aml_sync_wait_fence(struct dma_fence *syncfile, long timeout);
void aml_sync_put_fence(struct dma_fence *syncfile);