linux/drivers/gpu/host1x/fence.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Syncpoint dma_fence implementation
 *
 * Copyright (c) 2020, NVIDIA Corporation.
 */

#include <linux/dma-fence.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/sync_file.h>

#include "fence.h"
#include "intr.h"
#include "syncpt.h"

static const char *host1x_syncpt_fence_get_driver_name(struct dma_fence *f)
{}

static const char *host1x_syncpt_fence_get_timeline_name(struct dma_fence *f)
{}

static struct host1x_syncpt_fence *to_host1x_fence(struct dma_fence *f)
{}

static bool host1x_syncpt_fence_enable_signaling(struct dma_fence *f)
{}

static const struct dma_fence_ops host1x_syncpt_fence_ops =;

void host1x_fence_signal(struct host1x_syncpt_fence *f)
{}

static void do_fence_timeout(struct work_struct *work)
{}

struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold,
				      bool timeout)
{}
EXPORT_SYMBOL();

void host1x_fence_cancel(struct dma_fence *f)
{}
EXPORT_SYMBOL();