mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: move submit code to common
To finish OS unification of the submit path, move the gk20a_submit_channel_gpfifo* functions to a file that's accessible also outside Linux code. Also change the prefix of the submit functions from gk20a_ to nvgpu_. Jira NVGPU-705 Change-Id: I8ca355d1eb69771fb016c7a21fc7f102ca7967d7 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1760421 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2ac6fb4253
commit
7998233b77
@@ -32,6 +32,7 @@
|
||||
#include <nvgpu/bug.h>
|
||||
#include <nvgpu/firmware.h>
|
||||
#include <nvgpu/os_sched.h>
|
||||
#include <nvgpu/channel.h>
|
||||
|
||||
#include <nvgpu/linux/vm.h>
|
||||
|
||||
@@ -783,7 +784,7 @@ static int gk20a_cde_execute_buffer(struct gk20a_cde_ctx *cde_ctx,
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
return gk20a_submit_channel_gpfifo_kernel(cde_ctx->ch, gpfifo,
|
||||
return nvgpu_submit_channel_gpfifo_kernel(cde_ctx->ch, gpfifo,
|
||||
num_entries, flags, fence, fence_out);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user