#include <linux/host1x.h>
#include <linux/iommu.h>
#include <linux/slab.h>
#include <trace/events/host1x.h>
#include "../channel.h"
#include "../dev.h"
#include "../intr.h"
#include "../job.h"
#define TRACE_MAX_LENGTH …
static void trace_write_gather(struct host1x_cdma *cdma, struct host1x_bo *bo,
u32 offset, u32 words)
{ … }
static void submit_wait(struct host1x_job *job, u32 id, u32 threshold,
u32 next_class)
{ … }
static void submit_gathers(struct host1x_job *job, u32 job_syncpt_base)
{ … }
static inline void synchronize_syncpt_base(struct host1x_job *job)
{ … }
static void host1x_channel_set_streamid(struct host1x_channel *channel)
{ … }
static void host1x_enable_gather_filter(struct host1x_channel *ch)
{ … }
static void channel_program_cdma(struct host1x_job *job)
{ … }
static void job_complete_callback(struct dma_fence *fence, struct dma_fence_cb *cb)
{ … }
static int channel_submit(struct host1x_job *job)
{ … }
static int host1x_channel_init(struct host1x_channel *ch, struct host1x *dev,
unsigned int index)
{ … }
static const struct host1x_channel_ops host1x_channel_ops = …;