From 7998233b77a343d002b699d5f348bbeb243e16f5 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 25 Jun 2018 12:35:42 +0300 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1760421 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index aa37db62..78325019 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -47,7 +47,7 @@ struct fifo_profile_gk20a; #define NVGPU_GPFIFO_FLAGS_REPLAYABLE_FAULTS_ENABLE (1 << 2) #define NVGPU_GPFIFO_FLAGS_USERMODE_SUPPORT (1 << 3) -/* Flags to be passed to gk20a_submit_channel_gpfifo() */ +/* Flags to be passed to nvgpu_submit_channel_gpfifo() */ #define NVGPU_SUBMIT_FLAGS_FENCE_WAIT (1 << 0) #define NVGPU_SUBMIT_FLAGS_FENCE_GET (1 << 1) #define NVGPU_SUBMIT_FLAGS_HW_FORMAT (1 << 2) -- cgit v1.2.2