diff options
Diffstat (limited to 'drivers/gpu/host1x/job.c')
-rw-r--r-- | drivers/gpu/host1x/job.c | 6 |
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 | } |
78 | EXPORT_SYMBOL(host1x_job_alloc); | ||
78 | 79 | ||
79 | struct host1x_job *host1x_job_get(struct host1x_job *job) | 80 | struct 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 | } |
85 | EXPORT_SYMBOL(host1x_job_get); | ||
84 | 86 | ||
85 | static void job_free(struct kref *ref) | 87 | static 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 | } |
98 | EXPORT_SYMBOL(host1x_job_put); | ||
96 | 99 | ||
97 | void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo, | 100 | void 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 | } |
110 | EXPORT_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 | } |
567 | EXPORT_SYMBOL(host1x_job_pin); | ||
563 | 568 | ||
564 | void host1x_job_unpin(struct host1x_job *job) | 569 | void 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 | } |
585 | EXPORT_SYMBOL(host1x_job_unpin); | ||
580 | 586 | ||
581 | /* | 587 | /* |
582 | * Debug routine used to dump job entries | 588 | * Debug routine used to dump job entries |