mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
8a72e1a997697cfaf876780bc0d1c57cf91fe522
This commit replaces the deprecated nvhost_syncpt_* functions with the equivalent host1x_syncpt_* APIs throughout the NVDLA driver. The following replacements were made: - nvhost_get_syncpt_host_managed() → host1x_syncpt_alloc() + host1x_syncpt_id() - nvhost_syncpt_put_ref_ext() → host1x_syncpt_put() - nvhost_syncpt_incr_max_ext() → host1x_syncpt_incr_max() - nvhost_syncpt_read_maxval() → host1x_syncpt_read_max() - nvhost_syncpt_is_expired_ext() → host1x_syncpt_wait() - nvhost_syncpt_set_min_update() → host1x_syncpt_read() + host1x_syncpt_incr() Each replacement includes: - Obtaining syncpoint handles when necessary with host1x_syncpt_get_by_id_noref() - Proper error checking for null handles and return values - Maintaining the emulation wrapper in nvdla_sync_syncpt_emu.c Bug 4922416 Jira HOSTX-5963 Change-Id: I8ce4299f89a8938c07895656689a59cc20a097ec Signed-off-by: Mainak Sen <msen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3321364 Reviewed-by: Arvind M <am@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Mitch Harwell <mharwell@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com>
Description
No description provided