From 7b57280b9b4a9fcacc1621b5973eda66f9f5345d Mon Sep 17 00:00:00 2001 From: Ken Adams Date: Wed, 2 Sep 2020 09:10:33 -0400 Subject: [PATCH] video: tegra: host: nvdla: arm timer k5.9 change kernel api changed for arch timer Jira DLA-3520 Change-Id: I10a056f15e5bed437c907aae6a09b01fb8a504cd Signed-off-by: Ken Adams Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2407447 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/host/nvdla/nvdla_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla_queue.c b/drivers/video/tegra/host/nvdla/nvdla_queue.c index ccb66882..0d8bfecd 100644 --- a/drivers/video/tegra/host/nvdla/nvdla_queue.c +++ b/drivers/video/tegra/host/nvdla/nvdla_queue.c @@ -1566,7 +1566,7 @@ static int nvdla_queue_submit_op(struct nvdla_queue *queue, void *in_task) method_data = ALIGNED_DMA(task->task_desc_pa); /* Report timestamp in TSC ticks. */ - timestamp = arch_counter_get_cntvct(); + timestamp = arch_timer_read_counter(); /* get pm refcount */ if (nvhost_module_busy(pdev))