From a0dcd3b203cb5c2eb3b5bb83903a8aece67b70ec Mon Sep 17 00:00:00 2001 From: Michael Frydrych Date: Fri, 24 Jan 2014 10:20:33 +0200 Subject: sync: Support timestamp passing Timestamps read in an interrupt handler and when fence state is being updated can differ by variable amount. That add unnecessary jitter to original interrupt times. This patch adds support for passing timestamp from the device driver thereby allowing more accurate timestamps. Bug 1543760 Change-Id: Idcfd5cb435b0bd585e3c16cd299c6f456d4509c4 Signed-off-by: Michael Frydrych Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen Reviewed-on: http://git-master/r/360939 --- drivers/gpu/nvgpu/gk20a/sync_gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c index 5e15cd5f..74cf5c5a 100644 --- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c @@ -1,7 +1,7 @@ /* * GK20A Sync Framework Integration * - * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -341,7 +341,7 @@ struct sync_fence *gk20a_sync_fence_fdget(int fd) void gk20a_sync_timeline_signal(struct sync_timeline *timeline) { - sync_timeline_signal(timeline); + sync_timeline_signal(timeline, 0); } void gk20a_sync_timeline_destroy(struct sync_timeline *timeline) -- cgit v1.2.2