mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
gpu: host1x-emu: Add host1x_syncpt_get_shim_info
Implement host1x_syncpt_get_shim_info function for host1x-emu driver and add it to the dynamic dispatch mechanism in host1x-fence. This function provides clients with the physical address of syncpoint aperture, stride and number of syncpoints, which is needed by various client drivers like ISP, VI, PVA, GPU etc Jira HOSTX-5971 Change-Id: I50e60222a035228c981dfa993cb0088e1d15dad2 Signed-off-by: Mainak Sen <msen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3323327 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com> Reviewed-by: Amitabh Dutta <amitabhd@nvidia.com>
This commit is contained in:
@@ -78,6 +78,11 @@ int wrap_host1x_syncpt_wait_ts(struct host1x_syncpt *sp,
|
||||
int wrap_host1x_syncpt_wait(struct host1x_syncpt *sp,
|
||||
u32 thresh, long timeout, u32 *value);
|
||||
|
||||
int wrap_host1x_syncpt_get_shim_info(struct host1x *host,
|
||||
phys_addr_t *base,
|
||||
u32 *stride,
|
||||
u32 *num_syncpts);
|
||||
|
||||
int wrap_host1x_fence_get_node(struct dma_fence *fence);
|
||||
|
||||
//nvhost.h
|
||||
|
||||
Reference in New Issue
Block a user