gpu: nvgpu: move runlist HAL ops to separate section

Split out ops that belong to runlist unit to a new section called
runlist. This is effectively just renaming; the implementation still
stays put.

Jira NVGPU-1309

Change-Id: Ib928164f8008f680d9cb13c969e3304ef727abba
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1997823
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Konsta Holtta
2019-01-10 16:12:33 +02:00
committed by mobile promotions
parent f6656dc00f
commit 6fda25e958
15 changed files with 134 additions and 109 deletions

View File

@@ -58,8 +58,8 @@ static void setup_fifo(struct gk20a *g, unsigned long *tsg_map,
* entries are enough. The logic is same across chips.
*/
f->runlist_entry_size = 2 * sizeof(u32);
g->ops.fifo.get_tsg_runlist_entry = gk20a_get_tsg_runlist_entry;
g->ops.fifo.get_ch_runlist_entry = gk20a_get_ch_runlist_entry;
g->ops.runlist.get_tsg_runlist_entry = gk20a_get_tsg_runlist_entry;
g->ops.runlist.get_ch_runlist_entry = gk20a_get_ch_runlist_entry;
g->runlist_interleave = interleave;