mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Add two new APIs to the device code to query copy engines. These APIs handle the annoying change from COPY0-2 to LCEs in the Pascal generation. nvgpu_device_get_copies() nvgpu_device_get_async_copies() The first function gets all copy engines; the latter queries only async copy engines: that is CEs that do not share a runlist with the GR engine. JIRA NVGPU-5421 Change-Id: I707d9b004994b91f9d77974133912af9b9955882 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2398597 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit