mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
0f991be9e78427c2685112d953528b4bc2b1c70e
Replace deprecated nvhost client device functions with their direct implementations to maintain compatibility with newer host1x drivers: 1. Replace nvhost_client_device_get_resources with direct implementation: - Get host1x data from parent device - Map device resources directly 2. Replace nvhost_client_device_init with nvdla_client_device_init: - Allocate character device region - Create device node using nvdla_client_device_create 3. Replace nvhost_client_device_release with nvdla_client_device_release: - Clean up device node - Unregister character device region This change ensures the NVDLA driver continues to work correctly with the host1x driver while removing dependencies on deprecated functions.The device node "nvhost-ctrl-dla" is still created with the same functionality as before. Bug 4921461 Jira HOSTX-5963 Change-Id: Ib27000fa47fdd72f80ca4030232d31e100c01ea4 Signed-off-by: Mainak Sen <msen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3320695 Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Arvind M <am@nvidia.com> Reviewed-by: Mitch Harwell <mharwell@nvidia.com>
Description
No description provided