mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: rename channel functions
This patch makes the following changes 1) rename public channel functions to use nvgpu_channel prefix 2) rename static channel functions to use channel prefix Jira NVGPU-3248 Change-Id: Ib556a0d6ac24dc0882bfd3b8c68b9d2854834030 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2150729 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
bab6fdd2bb
commit
48c00bbea9
@@ -293,10 +293,10 @@ static int test_tsg_bind_channel(struct unit_module *m,
|
||||
tsg = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsg != NULL);
|
||||
|
||||
chA = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chA = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chA != NULL);
|
||||
|
||||
chB = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chB = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chB != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsg, chA);
|
||||
@@ -494,10 +494,10 @@ static int test_tsg_unbind_channel(struct unit_module *m,
|
||||
tsg = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsg != NULL);
|
||||
|
||||
chA = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chA = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chA != NULL);
|
||||
|
||||
chB = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chB = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chB != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsg, chA);
|
||||
@@ -753,7 +753,7 @@ static int test_tsg_unbind_channel_check_hw_state(struct unit_module *m,
|
||||
tsg = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsg != NULL);
|
||||
|
||||
ch = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
ch = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(ch != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsg, ch);
|
||||
@@ -839,10 +839,10 @@ static int test_tsg_unbind_channel_check_ctx_reload(struct unit_module *m,
|
||||
tsg = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsg != NULL);
|
||||
|
||||
chA = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chA = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chA != NULL);
|
||||
|
||||
chB = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chB = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chB != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsg, chA);
|
||||
@@ -944,7 +944,7 @@ static int test_tsg_enable(struct unit_module *m,
|
||||
tsgB = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsgB != NULL);
|
||||
|
||||
chA = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chA = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chA != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsgA, chA);
|
||||
@@ -1085,7 +1085,7 @@ static int test_tsg_abort(struct unit_module *m, struct gk20a *g, void *args)
|
||||
tsgB = nvgpu_tsg_open(g, getpid());
|
||||
assert(tsgB != NULL);
|
||||
|
||||
chA = gk20a_open_new_channel(g, ~0U, false, getpid(), getpid());
|
||||
chA = nvgpu_channel_open_new(g, ~0U, false, getpid(), getpid());
|
||||
assert(chA != NULL);
|
||||
|
||||
err = nvgpu_tsg_bind_channel(tsgA, chA);
|
||||
|
||||
Reference in New Issue
Block a user