mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
gpu: host1x: Support for syncpoint pools
Add support for syncpoint pools. These are configuration-dependent subsets of syncpoints that can only be allocated by specifying an allocation specifically from that pool. In this patch, we add support for the GPU pool. On certain systems, the GPU is for safety purposes limited to accessing a specific set of syncpoints. Therefore, syncpoints allocated for GPU use need to come from this pool. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I385b8bdfdac8573b26f0b1a0feaf05de071148a1 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2826198 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Sanif Veeras <sveeras@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Sanif Veeras <sveeras@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
e0a90be04b
commit
de0a5c2c11
@@ -198,6 +198,7 @@ static inline void host1x_bo_munmap(struct host1x_bo *bo, void *addr)
|
||||
|
||||
#define HOST1X_SYNCPT_CLIENT_MANAGED (1 << 0)
|
||||
#define HOST1X_SYNCPT_HAS_BASE (1 << 1)
|
||||
#define HOST1X_SYNCPT_GPU (1 << 2)
|
||||
|
||||
struct host1x_syncpt_base;
|
||||
struct host1x_syncpt;
|
||||
|
||||
Reference in New Issue
Block a user