mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
af26eeaf9d
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>
15 lines
486 B
C
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);
|