summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-03-15 09:34:14 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-16 20:12:03 -0400
commit9f9035d10bdbd56e13697aab44bc36b4bd9275cd (patch)
treeb43b0ee7fb26fbbedba36e08798d8c8636cfb720 /drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
parent0378bc32e4db87dd7bb58fce2f85cd4ff436506a (diff)
gpu: nvgpu: remove fence param from channel_sync
The fence parameter that gets output from gk20a_channel_sync's wait() and wait_fd() APIs is no longer used for anything. Delete it. Jira NVGPU-527 Jira NVGPU-528 Bug 200390539 Change-Id: I659504062dc6aee83a0a0d9f5625372b4ae8c0e2 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1676734 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
index 20460c80..3c12147f 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
@@ -51,8 +51,7 @@ struct gk20a_channel_syncpt {
51}; 51};
52 52
53static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s, 53static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s,
54 u32 id, u32 thresh, struct priv_cmd_entry *wait_cmd, 54 u32 id, u32 thresh, struct priv_cmd_entry *wait_cmd)
55 struct gk20a_fence *fence)
56{ 55{
57 struct gk20a_channel_syncpt *sp = 56 struct gk20a_channel_syncpt *sp =
58 container_of(s, struct gk20a_channel_syncpt, ops); 57 container_of(s, struct gk20a_channel_syncpt, ops);
@@ -84,8 +83,7 @@ static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s,
84} 83}
85 84
86static int gk20a_channel_syncpt_wait_fd(struct gk20a_channel_sync *s, int fd, 85static int gk20a_channel_syncpt_wait_fd(struct gk20a_channel_sync *s, int fd,
87 struct priv_cmd_entry *wait_cmd, 86 struct priv_cmd_entry *wait_cmd)
88 struct gk20a_fence *fence)
89{ 87{
90#ifdef CONFIG_SYNC 88#ifdef CONFIG_SYNC
91 int i; 89 int i;
@@ -456,8 +454,7 @@ static void add_sema_cmd(struct gk20a *g, struct channel_gk20a *c,
456 454
457static int gk20a_channel_semaphore_wait_syncpt( 455static int gk20a_channel_semaphore_wait_syncpt(
458 struct gk20a_channel_sync *s, u32 id, 456 struct gk20a_channel_sync *s, u32 id,
459 u32 thresh, struct priv_cmd_entry *entry, 457 u32 thresh, struct priv_cmd_entry *entry)
460 struct gk20a_fence *fence)
461{ 458{
462 struct gk20a_channel_semaphore *sema = 459 struct gk20a_channel_semaphore *sema =
463 container_of(s, struct gk20a_channel_semaphore, ops); 460 container_of(s, struct gk20a_channel_semaphore, ops);
@@ -521,8 +518,7 @@ put_fence:
521 518
522static int gk20a_channel_semaphore_wait_fd( 519static int gk20a_channel_semaphore_wait_fd(
523 struct gk20a_channel_sync *s, int fd, 520 struct gk20a_channel_sync *s, int fd,
524 struct priv_cmd_entry *entry, 521 struct priv_cmd_entry *entry)
525 struct gk20a_fence *fence)
526{ 522{
527 struct gk20a_channel_semaphore *sema = 523 struct gk20a_channel_semaphore *sema =
528 container_of(s, struct gk20a_channel_semaphore, ops); 524 container_of(s, struct gk20a_channel_semaphore, ops);