mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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 <sveeras@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2820454 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Santosh BS <santoshb@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ee81e3ee34
commit
f19d5ef3c0
@@ -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
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms and conditions of the GNU General Public License,
|
* 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,
|
struct nvgpu_nvhost_dev *nvhost_dev,
|
||||||
const char *syncpt_name)
|
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);
|
syncpt_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user