From f19d5ef3c00ab915e2a60af25f80d860915616bd Mon Sep 17 00:00:00 2001 From: Sanif Veeras Date: Fri, 2 Dec 2022 11:44:17 +0530 Subject: [PATCH] nvgpu-linux: alloc syncpt from gpu pool - Modify the syncpoint allocation logic in Linux code to use the interface to allocate from GPU specific pool Jira HOSTX-4515 Change-Id: If2be840ba7ba3b63df73edd3cb2875ca0986eec3 Signed-off-by: Sanif Veeras Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2820454 Reviewed-by: svcacv Reviewed-by: Arto Merilainen Reviewed-by: Santosh BS Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Raghavendra Vishnu Kumar GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/os/linux/nvhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/nvhost.c b/drivers/gpu/nvgpu/os/linux/nvhost.c index 948ca9cc4..2f4c437b8 100644 --- a/drivers/gpu/nvgpu/os/linux/nvhost.c +++ b/drivers/gpu/nvgpu/os/linux/nvhost.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2022, 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, @@ -128,7 +128,7 @@ u32 nvgpu_nvhost_get_syncpt_client_managed( struct nvgpu_nvhost_dev *nvhost_dev, const char *syncpt_name) { - return nvhost_get_syncpt_client_managed(nvhost_dev->host1x_pdev, + return nvhost_get_syncpt_gpu_managed(nvhost_dev->host1x_pdev, syncpt_name); }