*
* Tegra Graphics Host Job
*
- * Copyright (c) 2010-2014, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2010-2015, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
kref_put(&job->ref, job_free);
}
+int nvhost_job_add_client_gather_address(struct nvhost_job *job,
+ u32 num_words, u32 class_id, dma_addr_t gather_address)
+{
+ nvhost_job_add_gather(job, 0, num_words, 0, class_id, 0);
+
+ job->gathers[0].mem_base = gather_address;
+
+ return 0;
+}
+
void nvhost_job_add_gather(struct nvhost_job *job,
u32 mem_id, u32 words, u32 offset, u32 class_id, int pre_fence)
{
void nvhost_job_add_gather(struct nvhost_job *job,
u32 mem_id, u32 words, u32 offset, u32 class_id, int pre_fence);
+/*
+ * Add a gather with IOVA address to job
+ */
+int nvhost_job_add_client_gather_address(struct nvhost_job *job,
+ u32 num_words, u32 class_id, dma_addr_t gather_address);
+
/*
* Increment reference going to nvhost_job.
*/