video: tegra: host: dla: remove syncpt refcnt

As syncpoint refcounting is managed by common nvhost queue framework,
remove it's ref counting handling from submit path.

Bug 200391126

Change-Id: Ic769c6e71e5b470d21ea54e6efd5d45afd396686
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1661850
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Shridhar Rasal
2018-02-21 15:42:21 +05:30
committed by Laxman Dewangan
parent f9c0b87ec8
commit 29cda9809f

View File

@@ -1045,9 +1045,6 @@ static int nvdla_queue_submit(struct nvhost_queue *queue, void *in_task)
queue->syncpt_id, task->fence,
task, task->fence_counter);
/* get syncpoint reference */
nvhost_syncpt_get_ref(task->sp, queue->syncpt_id);
/* enable INT_ON_COMPLETE and INT_ON_ERROR falcon interrupts */
method_id = (DLA_CMD_SUBMIT_TASK & DLA_METHOD_ID_CMD_MASK) |
(1 << DLA_INT_ON_COMPLETE_SHIFT) |