diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c b/drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c index 25832417..e7070612 100644 --- a/drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c +++ b/drivers/gpu/nvgpu/os/linux/os_fence_android_sema.c | |||
@@ -58,8 +58,8 @@ int nvgpu_os_fence_sema_wait_gen_cmd(struct nvgpu_os_fence *s, | |||
58 | } | 58 | } |
59 | 59 | ||
60 | for (i = 0; i < num_wait_cmds; i++) { | 60 | for (i = 0; i < num_wait_cmds; i++) { |
61 | struct fence *f = sync_fence->cbs[i].sync_pt; | 61 | struct sync_pt *pt = sync_pt_from_fence( |
62 | struct sync_pt *pt = sync_pt_from_fence(f); | 62 | sync_fence->cbs[i].sync_pt); |
63 | 63 | ||
64 | sema = gk20a_sync_pt_sema(pt); | 64 | sema = gk20a_sync_pt_sema(pt); |
65 | gk20a_channel_gen_sema_wait_cmd(c, sema, wait_cmd, | 65 | gk20a_channel_gen_sema_wait_cmd(c, sema, wait_cmd, |