• Home
  • Raw
  • Download

Lines Matching full:job

27 #include "../job.h"
61 static void submit_gathers(struct host1x_job *job) in submit_gathers() argument
63 struct host1x_cdma *cdma = &job->channel->cdma; in submit_gathers()
66 for (i = 0; i < job->num_gathers; i++) { in submit_gathers()
67 struct host1x_job_gather *g = &job->gathers[i]; in submit_gathers()
76 static inline void synchronize_syncpt_base(struct host1x_job *job) in synchronize_syncpt_base() argument
78 struct host1x *host = dev_get_drvdata(job->channel->dev->parent); in synchronize_syncpt_base()
79 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
86 host1x_cdma_push(&job->channel->cdma, in synchronize_syncpt_base()
93 static int channel_submit(struct host1x_job *job) in channel_submit() argument
95 struct host1x_channel *ch = job->channel; in channel_submit()
97 u32 user_syncpt_incrs = job->syncpt_incrs; in channel_submit()
104 sp = host->syncpt + job->syncpt_id; in channel_submit()
106 job->num_gathers, job->num_relocs, in channel_submit()
107 job->syncpt_id, job->syncpt_incrs); in channel_submit()
110 prev_max = job->syncpt_end = host1x_syncpt_read_max(sp); in channel_submit()
125 err = host1x_cdma_begin(&ch->cdma, job); in channel_submit()
131 if (job->serialize) { in channel_submit()
134 * previous job to finish before this one can commence. in channel_submit()
139 host1x_class_host_wait_syncpt(job->syncpt_id, in channel_submit()
145 synchronize_syncpt_base(job); in channel_submit()
151 job->syncpt_end = syncval; in channel_submit()
154 if (job->class) in channel_submit()
156 host1x_opcode_setclass(job->class, 0, 0), in channel_submit()
159 submit_gathers(job); in channel_submit()
162 host1x_cdma_end(&ch->cdma, job); in channel_submit()