mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: linux/host1x: Allocate syncpoints from GPU pool
On systems with GPU syncpoint pools, pass the flag to allocate from it. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I184196f1876e59e492a2cc71d7f190416ce9061f Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2826199 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Sanif Veeras <sveeras@nvidia.com> Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
f19d5ef3c0
commit
6953c61a1b
@@ -238,7 +238,7 @@ u32 nvgpu_nvhost_get_syncpt_client_managed(struct nvgpu_nvhost_dev *nvhost_dev,
|
|||||||
if (!host1x)
|
if (!host1x)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
sp = host1x_syncpt_alloc(host1x, HOST1X_SYNCPT_CLIENT_MANAGED,
|
sp = host1x_syncpt_alloc(host1x, HOST1X_SYNCPT_CLIENT_MANAGED | HOST1X_SYNCPT_GPU,
|
||||||
syncpt_name);
|
syncpt_name);
|
||||||
if (!sp)
|
if (!sp)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user