aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/host1x/job.c')
-rw-r--r--drivers/gpu/host1x/job.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/job.c b/drivers/gpu/host1x/job.c
index de5ec333ce1a..1146e3bba6e1 100644
--- a/drivers/gpu/host1x/job.c
+++ b/drivers/gpu/host1x/job.c
@@ -75,12 +75,14 @@ struct host1x_job *host1x_job_alloc(struct host1x_channel *ch,
75 75
76 return job; 76 return job;
77} 77}
78EXPORT_SYMBOL(host1x_job_alloc);
78 79
79struct host1x_job *host1x_job_get(struct host1x_job *job) 80struct host1x_job *host1x_job_get(struct host1x_job *job)
80{ 81{
81 kref_get(&job->ref); 82 kref_get(&job->ref);
82 return job; 83 return job;
83} 84}
85EXPORT_SYMBOL(host1x_job_get);
84 86
85static void job_free(struct kref *ref) 87static void job_free(struct kref *ref)
86{ 88{
@@ -93,6 +95,7 @@ void host1x_job_put(struct host1x_job *job)
93{ 95{
94 kref_put(&job->ref, job_free); 96 kref_put(&job->ref, job_free);
95} 97}
98EXPORT_SYMBOL(host1x_job_put);
96 99
97void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo, 100void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo,
98 u32 words, u32 offset) 101 u32 words, u32 offset)
@@ -104,6 +107,7 @@ void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo,
104 cur_gather->offset = offset; 107 cur_gather->offset = offset;
105 job->num_gathers++; 108 job->num_gathers++;
106} 109}
110EXPORT_SYMBOL(host1x_job_add_gather);
107 111
108/* 112/*
109 * NULL an already satisfied WAIT_SYNCPT host method, by patching its 113 * NULL an already satisfied WAIT_SYNCPT host method, by patching its
@@ -560,6 +564,7 @@ out:
560 564
561 return err; 565 return err;
562} 566}
567EXPORT_SYMBOL(host1x_job_pin);
563 568
564void host1x_job_unpin(struct host1x_job *job) 569void host1x_job_unpin(struct host1x_job *job)
565{ 570{
@@ -577,6 +582,7 @@ void host1x_job_unpin(struct host1x_job *job)
577 job->gather_copy_mapped, 582 job->gather_copy_mapped,
578 job->gather_copy); 583 job->gather_copy);
579} 584}
585EXPORT_SYMBOL(host1x_job_unpin);
580 586
581/* 587/*
582 * Debug routine used to dump job entries 588 * Debug routine used to dump job entries