summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c b/drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c
index d7a72fcd..dc340f1a 100644
--- a/drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c
+++ b/drivers/gpu/nvgpu/os/linux/os_fence_android_syncpt.c
@@ -70,8 +70,8 @@ int nvgpu_os_fence_syncpt_wait_gen_cmd(struct nvgpu_os_fence *s,
70 } 70 }
71 71
72 for (i = 0; i < sync_fence->num_fences; i++) { 72 for (i = 0; i < sync_fence->num_fences; i++) {
73 struct fence *f = sync_fence->cbs[i].sync_pt; 73 struct sync_pt *pt = sync_pt_from_fence(
74 struct sync_pt *pt = sync_pt_from_fence(f); 74 sync_fence->cbs[i].sync_pt);
75 u32 wait_id = nvgpu_nvhost_sync_pt_id(pt); 75 u32 wait_id = nvgpu_nvhost_sync_pt_id(pt);
76 u32 wait_value = nvgpu_nvhost_sync_pt_thresh(pt); 76 u32 wait_value = nvgpu_nvhost_sync_pt_thresh(pt);
77 77